get notification backend working again
This commit is contained in:
parent
893ba371a9
commit
cad8fa6b35
@ -158,7 +158,7 @@ function ping_init(&$a) {
|
|||||||
$t1 = dba_timer();
|
$t1 = dba_timer();
|
||||||
|
|
||||||
$r = q("SELECT id, item_restrict, item_flags FROM item
|
$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_VISIBLE),
|
||||||
intval(ITEM_UNSEEN),
|
intval(ITEM_UNSEEN),
|
||||||
intval(local_user())
|
intval(local_user())
|
||||||
|
Reference in New Issue
Block a user