Skip to content

Commit

Permalink
Bug 1581 fixed : missing comment_id for email_admin() function
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@5707 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
nikrou committed Apr 8, 2010
1 parent c5a5bbc commit 70d90c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/functions_comment.inc.php
Expand Up @@ -222,7 +222,10 @@ function delete_user_comment($comment_id) {
;';
$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
));
}
}

Expand Down

0 comments on commit 70d90c4

Please sign in to comment.