aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-08-07 14:06:08 +0200
committerMario Vavti <mario@mariovavti.com>2022-08-07 14:06:08 +0200
commit3bfbc705878272a825a89adf5c253703befdfe2a (patch)
treee6a8838321476a6c72c3d9c1c87209e71ce0a0ef /Zotlabs
parentb47dab0ee95bc6e2dc0cbe911f36e61137474b14 (diff)
downloadvolse-hubzilla-3bfbc705878272a825a89adf5c253703befdfe2a.tar.gz
volse-hubzilla-3bfbc705878272a825a89adf5c253703befdfe2a.tar.bz2
volse-hubzilla-3bfbc705878272a825a89adf5c253703befdfe2a.zip
check against null
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Display.php4
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 = ''