we are checking for null|array union type later - false would throw an error

This commit is contained in:
Mario
2024-03-01 19:17:57 +00:00
parent 15a7d2d4de
commit 3f32a5239d

View File

@@ -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();