From f5826105bfc514599b2c5b6692bca14ca4bc5d78 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 5 Jul 2010 03:33:02 -0700 Subject: group work, dfrn_poll --- mod/notifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/notifications.php') 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'])); -- cgit v1.2.3