diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-12 16:43:59 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-12 16:43:59 -0700 |
commit | e0e2a032cfd5769f486b4b2abe58a54144b509c0 (patch) | |
tree | 27ba338ff9e3c70ac99dc0ee5f86a212b8376a9c /mod/notifications.php | |
parent | b0f8cd5fe684d5c03419838c2859a11ea6d6f8a0 (diff) | |
download | volse-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.php | 4 |
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))) { |