From 70d90c40837e9102c6798320c4ef9f4f6b7489e4 Mon Sep 17 00:00:00 2001 From: nikrou Date: Thu, 8 Apr 2010 08:58:51 +0000 Subject: Bug 1581 fixed : missing comment_id for email_admin() function git-svn-id: http://piwigo.org/svn/trunk@5707 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_comment.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 + )); } } -- cgit v1.2.3