diff options
Diffstat (limited to 'mod/notifications.php')
-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 1064729ff..6ade0c0bb 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -28,7 +28,7 @@ function notifications_post(&$a) { return; } if($_POST['submit'] == 'Discard') { - $r = q("DELETE `intro` WHERE `id` = %d LIMIT 1", intval($intro_id)); + $r = q("DELETE FROM `intro` WHERE `id` = %d LIMIT 1", intval($intro_id)); $r = q("DELETE `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($request_id), intval($_SESSION['uid'])); |