mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00: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:
commit
be2959fbab
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