diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-08-07 14:06:08 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-08-07 14:06:08 +0200 |
commit | 3bfbc705878272a825a89adf5c253703befdfe2a (patch) | |
tree | e6a8838321476a6c72c3d9c1c87209e71ce0a0ef | |
parent | b47dab0ee95bc6e2dc0cbe911f36e61137474b14 (diff) | |
download | volse-hubzilla-3bfbc705878272a825a89adf5c253703befdfe2a.tar.gz volse-hubzilla-3bfbc705878272a825a89adf5c253703befdfe2a.tar.bz2 volse-hubzilla-3bfbc705878272a825a89adf5c253703befdfe2a.zip |
check against null
-rw-r--r-- | Zotlabs/Module/Display.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index 0d29c3451..26d3b9fc2 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -226,7 +226,7 @@ class Display extends \Zotlabs\Web\Controller { ); } - if(!$r) { + if($r === null) { $r = q("SELECT item.id AS item_id FROM item WHERE ((mid = '%s' AND (((( item.allow_cid = '' AND item.allow_gid = '' AND item.deny_cid = '' @@ -263,7 +263,7 @@ class Display extends \Zotlabs\Web\Controller { ); } - if(! $r) { + if($r === null) { $r = q("SELECT item.id as item_id from item WHERE ((parent_mid = '%s' AND (((( item.allow_cid = '' AND item.allow_gid = '' AND item.deny_cid = '' |