aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-01 19:17:57 +0000
committerMario <mario@mariovavti.com>2024-03-01 19:17:57 +0000
commit3f32a5239d7d95410de9b53396a8751556a41ec5 (patch)
treee1d3b8a6307f5172e318a70709e20916e75f662f /include/bbcode.php
parent15a7d2d4de3b81c33e5b2fd75f78f2c79ff46262 (diff)
downloadvolse-hubzilla-3f32a5239d7d95410de9b53396a8751556a41ec5.tar.gz
volse-hubzilla-3f32a5239d7d95410de9b53396a8751556a41ec5.tar.bz2
volse-hubzilla-3f32a5239d7d95410de9b53396a8751556a41ec5.zip
we are checking for null|array union type later - false would throw an error
Diffstat (limited to 'include/bbcode.php')
-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();