diff options
author | Chris Smith <toonarmy@phpbb.com> | 2008-11-13 17:32:55 +0000 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2008-11-13 17:32:55 +0000 |
commit | b9bf3dafd3704b01a01b37b5277b4f7621c4c690 (patch) | |
tree | 70820a6c751f102587e2c660ba2e7831bcbb02a9 /phpBB/includes | |
parent | 9d4e7aeab10c1a4665ec45b8b0be60f73beb0c94 (diff) | |
download | forums-b9bf3dafd3704b01a01b37b5277b4f7621c4c690.tar forums-b9bf3dafd3704b01a01b37b5277b4f7621c4c690.tar.gz forums-b9bf3dafd3704b01a01b37b5277b4f7621c4c690.tar.bz2 forums-b9bf3dafd3704b01a01b37b5277b4f7621c4c690.tar.xz forums-b9bf3dafd3704b01a01b37b5277b4f7621c4c690.zip |
Fix a bug in r8908
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9065 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 0349cbc6a8..5ec51e44cf 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -2400,7 +2400,7 @@ function view_log($mode, &$log, &$log_count, $limit = 0, $offset = 0, $forum_id { // Check if there are more occurrences of % than arguments, if there are we fill out the arguments array // It doesn't matter if we add more arguments than placeholders - if (substr_count($log[$i]['action'], '%') - sizeof($log_data_ary)) + if ((substr_count($log[$i]['action'], '%') - sizeof($log_data_ary)) > 0) { $log_data_ary = array_merge($log_data_ary, array_fill(0, substr_count($log[$i]['action'], '%') - sizeof($log_data_ary), '')); } |