mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 09:22:01 +02:00
Merge pull request #6234 from 3D-I/ticket/16729
[ticket/16729] Fix Unknown named parameter in Log - PHP 8
This commit is contained in:
@ -695,7 +695,7 @@ class log implements \phpbb\log\log_interface
|
|||||||
}
|
}
|
||||||
|
|
||||||
$lang_arguments = array_merge(array($log[$i]['action']), $log_data_ary);
|
$lang_arguments = array_merge(array($log[$i]['action']), $log_data_ary);
|
||||||
$log[$i]['action'] = call_user_func_array(array($this->user, 'lang'), $lang_arguments);
|
$log[$i]['action'] = call_user_func_array(array($this->user, 'lang'), array_values($lang_arguments));
|
||||||
|
|
||||||
// If within the admin panel we do not censor text out
|
// If within the admin panel we do not censor text out
|
||||||
if ($this->get_is_admin())
|
if ($this->get_is_admin())
|
||||||
|
Reference in New Issue
Block a user