aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_comment.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_comment.inc.php')
-rw-r--r--include/functions_comment.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/functions_comment.inc.php b/include/functions_comment.inc.php
index 3589cf825..feec4d25c 100644
--- a/include/functions_comment.inc.php
+++ b/include/functions_comment.inc.php
@@ -222,7 +222,10 @@ $user_where_clause.'
;';
$result = pwg_query($query);
if ($result) {
- email_admin('delete', array('author' => $GLOBALS['user']['username']));
+ email_admin('delete',
+ array('author' => $GLOBALS['user']['username'],
+ 'comment_id' => $comment_id
+ ));
}
}