aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index b78566bfe..49dd4752d 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -383,6 +383,8 @@ function bb_sanitize_style($input) {
function bb_observer($Text) {
+ $a = get_app();
+
$observer = $a->get_observer();
if ((strpos($Text,'[/observer]') !== false) || (strpos($Text,'[/rpost]') !== false)) {