From 3f32a5239d7d95410de9b53396a8751556a41ec5 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 1 Mar 2024 19:17:57 +0000 Subject: we are checking for null|array union type later - false would throw an error --- include/bbcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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(); -- cgit v1.2.3