mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-19 15:22:08 +02:00
[ticket/12232] Fix a similar excessive pattern in the method.
PHPBB3-12232
This commit is contained in:
parent
5c3fc4840c
commit
99db2d9199
@ -155,11 +155,12 @@ class context
|
||||
// We're adding a new iteration to this block with the given
|
||||
// variable assignments.
|
||||
$str[$blocks[$blockcount]][] = $vararray;
|
||||
$s_num_rows = sizeof($str[$blocks[$blockcount]]);
|
||||
|
||||
// Set S_NUM_ROWS
|
||||
foreach ($str[$blocks[$blockcount]] as &$mod_block)
|
||||
{
|
||||
$mod_block['S_NUM_ROWS'] = sizeof($str[$blocks[$blockcount]]);
|
||||
$mod_block['S_NUM_ROWS'] = $s_num_rows;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user