1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

Merge pull request #2286 from nickvergessen/ticket/12388

[ticket/12388] Fix translation of log entries without additional log data

* nickvergessen/ticket/12388:
  [ticket/12388] Add tests for lang() use on log actions without data
  [ticket/12388] Fix translation of log entries without additional log data
This commit is contained in:
Andreas Fischer
2014-04-15 11:38:21 +02:00
2 changed files with 9 additions and 3 deletions

View File

@@ -558,6 +558,10 @@ class log implements \phpbb\log\log_interface
$log[$i]['action'] = make_clickable($log[$i]['action']);
*/
}
else
{
$log[$i]['action'] = $this->user->lang($log[$i]['action']);
}
$i++;
}