From cad8fa6b3584ecf4599a569b2f19d9f7e395c7f7 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 19 Dec 2012 16:58:25 -0800 Subject: [PATCH] get notification backend working again --- mod/ping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())