1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 04:23:38 +01:00

[ticket/10714] Fix core.add_log event

PHPBB3-10714
This commit is contained in:
Joas Schilling 2012-08-21 13:07:11 +02:00
parent bd6dfee23e
commit 0bb4af90a4

View File

@ -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.