mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00:00
do not output notices on viewing the log if log language variables changed their information between versions...
git-svn-id: file:///svn/phpbb/trunk@7962 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
acf0c0ddeb
commit
75dc0e8637
1 changed files with 2 additions and 1 deletions
|
@ -2423,7 +2423,8 @@ function view_log($mode, &$log, &$log_count, $limit = 0, $offset = 0, $forum_id
|
||||||
|
|
||||||
if (isset($user->lang[$row['log_operation']]))
|
if (isset($user->lang[$row['log_operation']]))
|
||||||
{
|
{
|
||||||
$log[$i]['action'] = vsprintf($log[$i]['action'], $log_data_ary);
|
// We supress the warning about inappropiate number of passed parameters here due to possible changes within LOG strings from one version to another.
|
||||||
|
$log[$i]['action'] = @vsprintf($log[$i]['action'], $log_data_ary);
|
||||||
|
|
||||||
// If within the admin panel we do not censor text out
|
// If within the admin panel we do not censor text out
|
||||||
if (defined('IN_ADMIN'))
|
if (defined('IN_ADMIN'))
|
||||||
|
|
Loading…
Add table
Reference in a new issue