Bug 1581 fixed : missing comment_id for email_admin() function

git-svn-id: http://piwigo.org/svn/trunk@5707 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou 2010-04-08 08:58:51 +00:00
parent c5a5bbc079
commit 70d90c4083

View file

@ -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
));
}
}