aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notifications.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-12 16:43:59 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-12 16:43:59 -0700
commite0e2a032cfd5769f486b4b2abe58a54144b509c0 (patch)
tree27ba338ff9e3c70ac99dc0ee5f86a212b8376a9c /mod/notifications.php
parentb0f8cd5fe684d5c03419838c2859a11ea6d6f8a0 (diff)
downloadvolse-hubzilla-e0e2a032cfd5769f486b4b2abe58a54144b509c0.tar.gz
volse-hubzilla-e0e2a032cfd5769f486b4b2abe58a54144b509c0.tar.bz2
volse-hubzilla-e0e2a032cfd5769f486b4b2abe58a54144b509c0.zip
mongo commit
Diffstat (limited to 'mod/notifications.php')
-rw-r--r--mod/notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 6ade0c0bb..f5bbe9a16 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -65,12 +65,12 @@ function notifications_content(&$a) {
'$hide_url' => ((strlen($sql_extra)) ? 'notifications/all' : 'notifications' ),
'$hide_text' => ((strlen($sql_extra)) ? 'Show Ignored Requests' : 'Hide Ignored Requests')
));
-dbg(2);
+
$r = q("SELECT `intro`.`id` AS `intro-id`, `intro`.*, `contact`.*
FROM `intro` LEFT JOIN `contact` ON `intro`.`contact-id` = `contact`.`id`
WHERE `intro`.`uid` = %d $sql_extra AND `intro`.`blocked` = 0 ",
intval($_SESSION['uid']));
-dbg(0);
+
if(($r !== false) && (count($r))) {