mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
we are checking for null|array union type later - false would throw an error
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user