group work, dfrn_poll

This commit is contained in:
Mike Macgirvin
2010-07-05 03:33:02 -07:00
parent 766b317070
commit f5826105bf
6 changed files with 108 additions and 105 deletions

View File

@@ -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']));