mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10714] Fix core.add_log event
PHPBB3-10714
This commit is contained in:
@@ -210,7 +210,7 @@ class phpbb_log implements phpbb_log_interface
|
||||
if ($phpbb_dispatcher != null)
|
||||
{
|
||||
$vars = array('mode', 'user_id', 'log_ip', 'log_operation', 'log_time', 'additional_data', 'sql_ary');
|
||||
extract($phpbb_dispatcher->trigger_event('core.add_log', $vars, $vars));
|
||||
extract($phpbb_dispatcher->trigger_event('core.add_log', $vars));
|
||||
}
|
||||
|
||||
// We didn't find a log_type, so we don't save it in the database.
|
||||
|
Reference in New Issue
Block a user