diff options
author | nikrou <nikrou@piwigo.org> | 2010-04-08 08:58:51 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-04-08 08:58:51 +0000 |
commit | 70d90c40837e9102c6798320c4ef9f4f6b7489e4 (patch) | |
tree | b2ca86b13b0c5e252574b5721e1bddb24ab963eb /include/functions_comment.inc.php | |
parent | c5a5bbc07930652473148ecdae90c299934acf20 (diff) |
Bug 1581 fixed : missing comment_id for email_admin() function
git-svn-id: http://piwigo.org/svn/trunk@5707 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_comment.inc.php')
-rw-r--r-- | include/functions_comment.inc.php | 5 |
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 + )); } } |