mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge in r9065
git-svn-id: file:///svn/phpbb/trunk@9074 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c8e3035a4b
commit
47b4b83468
1 changed files with 1 additions and 1 deletions
|
@ -2387,7 +2387,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
|
// 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
|
// 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), ''));
|
$log_data_ary = array_merge($log_data_ary, array_fill(0, substr_count($log[$i]['action'], '%') - sizeof($log_data_ary), ''));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue