diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/notifications.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |