aboutsummaryrefslogtreecommitdiffstats
path: root/mod/ping.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-19 16:58:25 -0800
committerfriendica <info@friendica.com>2012-12-19 16:58:25 -0800
commitcad8fa6b3584ecf4599a569b2f19d9f7e395c7f7 (patch)
tree02d6d435a0c047dc058b3f9a05bcbb6e0de07abc /mod/ping.php
parent893ba371a90a8f304e4e1707d40cbcc3295a43b2 (diff)
downloadvolse-hubzilla-cad8fa6b3584ecf4599a569b2f19d9f7e395c7f7.tar.gz
volse-hubzilla-cad8fa6b3584ecf4599a569b2f19d9f7e395c7f7.tar.bz2
volse-hubzilla-cad8fa6b3584ecf4599a569b2f19d9f7e395c7f7.zip
get notification backend working again
Diffstat (limited to 'mod/ping.php')
-rw-r--r--mod/ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ping.php b/mod/ping.php
index 9b29eacf7..b135ac6e3 100644
--- a/mod/ping.php
+++ b/mod/ping.php
@@ -158,7 +158,7 @@ function ping_init(&$a) {
$t1 = dba_timer();
$r = q("SELECT id, item_restrict, item_flags FROM item
- WHERE item_restrict = %d and ( item_flags & %d ) and uid = %d",
+ WHERE (item_restrict = %d) and ( item_flags & %d ) and uid = %d",
intval(ITEM_VISIBLE),
intval(ITEM_UNSEEN),
intval(local_user())