mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
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:
parent
c5a5bbc079
commit
70d90c4083
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue