mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 05:25: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:
commit
be2959fbab
@ -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…
x
Reference in New Issue
Block a user