aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/log/log.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-04-25 23:31:31 +0200
committerNicofuma <github@nicofuma.fr>2014-04-25 23:31:31 +0200
commit2991918bac1656bbc97dd7b1b2b335af24c11d18 (patch)
tree6a15c8e18176f18600edfbeb1fb288bbcded5a8b /phpBB/phpbb/log/log.php
parentfe768d460d54d68aeecc392a75a1438b3f3bad34 (diff)
downloadforums-2991918bac1656bbc97dd7b1b2b335af24c11d18.tar
forums-2991918bac1656bbc97dd7b1b2b335af24c11d18.tar.gz
forums-2991918bac1656bbc97dd7b1b2b335af24c11d18.tar.bz2
forums-2991918bac1656bbc97dd7b1b2b335af24c11d18.tar.xz
forums-2991918bac1656bbc97dd7b1b2b335af24c11d18.zip
[ticket/12444] The logs message aren't filled correctly
https://tracker.phpbb.com/browse/PHPBB3-12444 PHPBB3-12444
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
{