aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/notifications.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 7d465e1c0..b5b97cc94 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -27,7 +27,7 @@ function notifications_post(&$a) {
notice( t('Invalid request identifier.') . EOL);
return;
}
- if($_POST['submit'] == t('Discard'() {
+ if($_POST['submit'] == t('Discard')) {
$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),