From 2991918bac1656bbc97dd7b1b2b335af24c11d18 Mon Sep 17 00:00:00 2001 From: Nicofuma Date: Fri, 25 Apr 2014 23:31:31 +0200 Subject: [PATCH] [ticket/12444] The logs message aren't filled correctly https://tracker.phpbb.com/browse/PHPBB3-12444 PHPBB3-12444 --- 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 e38950f4c1..24b622dbac 100644 --- a/phpBB/phpbb/log/log.php +++ b/phpBB/phpbb/log/log.php @@ -520,7 +520,7 @@ class log implements \phpbb\log\log_interface $num_args = 0; if (!is_array($this->user->lang[$row['log_operation']])) { - $num_args = substr_count($log[$i]['action'], '%'); + $num_args = substr_count($this->user->lang[$row['log_operation']], '%'); } else {