Changeset 5707


Ignore:
Timestamp:
Apr 8, 2010, 10:58:51 AM (14 years ago)
Author:
nikrou
Message:

Bug 1581 fixed : missing comment_id for email_admin() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_comment.inc.php

    r5196 r5707  
    223223  $result = pwg_query($query);
    224224  if ($result) {
    225     email_admin('delete', array('author' => $GLOBALS['user']['username']));
     225    email_admin('delete',
     226                array('author' => $GLOBALS['user']['username'],
     227                      'comment_id' => $comment_id
     228                  ));
    226229  }
    227230}
Note: See TracChangeset for help on using the changeset viewer.