diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-08-07 14:07:10 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-08-07 14:07:10 +0200 |
commit | 9c4988c297f864f2229f8af1c23b747671b89eab (patch) | |
tree | 4c0ffbf2074da3493f137c0fae78fdbd21509f4f | |
parent | 34858fce1cde40fd30e02a96e212e1ef2dc28e32 (diff) | |
parent | 3bfbc705878272a825a89adf5c253703befdfe2a (diff) | |
download | volse-hubzilla-9c4988c297f864f2229f8af1c23b747671b89eab.tar.gz volse-hubzilla-9c4988c297f864f2229f8af1c23b747671b89eab.tar.bz2 volse-hubzilla-9c4988c297f864f2229f8af1c23b747671b89eab.zip |
Merge branch 'dev'
-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 = '' |