mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/16729] Fix Unknown named parameter in Log - PHP 8
PHPBB3-16729
This commit is contained in:
parent
af98278590
commit
9d22731d03
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ class log implements \phpbb\log\log_interface
|
|||
}
|
||||
|
||||
$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 ($this->get_is_admin())
|
||||
|
|
Loading…
Add table
Reference in a new issue