From 9d22731d03a6d0a2ff9c38fc4309d92a2262e91d Mon Sep 17 00:00:00 2001 From: 3D-I Date: Tue, 15 Jun 2021 17:53:53 +0200 Subject: [PATCH] [ticket/16729] Fix Unknown named parameter in Log - PHP 8 PHPBB3-16729 --- phpBB/phpbb/log/log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/log/log.php b/phpBB/phpbb/log/log.php index 5333fe2bdf..6142246477 100644 --- a/phpBB/phpbb/log/log.php +++ b/phpBB/phpbb/log/log.php @@ -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())