[ticket/12444] The logs message aren't filled correctly

https://tracker.phpbb.com/browse/PHPBB3-12444

PHPBB3-12444
This commit is contained in:
Nicofuma 2014-04-25 23:31:31 +02:00
parent fe768d460d
commit 2991918bac

View file

@ -520,7 +520,7 @@ class log implements \phpbb\log\log_interface
$num_args = 0; $num_args = 0;
if (!is_array($this->user->lang[$row['log_operation']])) 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 else
{ {