Merge branch '3.3.x'

This commit is contained in:
Marc Alexander 2021-06-30 21:10:16 +02:00
commit 2f8e5b7248
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -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())