aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bbcode.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 54c2330ab..6bb63bbaf 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -1187,8 +1187,8 @@ function bbcode($text, $options = []) {
if($cache) {
- $observer = false;
- $channel = false;
+ $observer = null;
+ $channel = null;
} else {
$observer = App::get_observer();
$channel = App::get_channel();