From 8c9aa975faeacbffce9314443aebe9ebc220aac3 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 6 Nov 2010 16:54:21 -0700 Subject: unable to discard notify --- mod/notifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/notifications.php b/mod/notifications.php index b4116bbe3..44d0dfe56 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -14,7 +14,7 @@ function notifications_post(&$a) { if($request_id) { $r = q("SELECT `id` FROM `intro` - WHERE `request-id` = %d + WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($request_id), intval(local_user()) -- cgit v1.2.3