aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notifications.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notifications.php')
-rw-r--r--mod/notifications.php2
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())