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())