aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/log/log.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/log/log.php')
-rw-r--r--phpBB/phpbb/log/log.php2
1 files changed, 1 insertions, 1 deletions
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
{