X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2FNotificationsManager.php;h=3b7cbdfc999e89d7086eaae71242d829d790b22c;hb=5efab810f5ac961995940e8ca4051123334111c2;hp=6962d02cc082c11351d42d27fcef789045b688ad;hpb=de02154a1b1073890ff304d4dd1cab109e9bd84b;p=friendica.git diff --git a/include/NotificationsManager.php b/include/NotificationsManager.php index 6962d02cc0..3b7cbdfc99 100644 --- a/include/NotificationsManager.php +++ b/include/NotificationsManager.php @@ -662,7 +662,7 @@ class NotificationsManager { private function introTotal($all = false) { $sql_extra = ""; - if($all === false) + if(!$all) $sql_extra = " AND `ignore` = 0 "; $r = q("SELECT COUNT(*) AS `total` FROM `intro` @@ -696,7 +696,7 @@ class NotificationsManager { $notifs = array(); $sql_extra = ""; - if($all === false) + if(!$all) $sql_extra = " AND `ignore` = 0 "; /// @todo Fetch contact details by "get_contact_details_by_url" instead of queries to contact, fcontact and gcontact