mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/twig] Fix S_NUM_ROWS assignment
PHPBB3-11598
This commit is contained in:
parent
13c3565454
commit
05984be2c0
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class phpbb_template_context
|
||||||
// Set S_NUM_ROWS
|
// Set S_NUM_ROWS
|
||||||
foreach ($str[$blocks[$blockcount]] as &$mod_block)
|
foreach ($str[$blocks[$blockcount]] as &$mod_block)
|
||||||
{
|
{
|
||||||
$mod_block['S_NUM_ROWS'] = $blockcount;
|
$mod_block['S_NUM_ROWS'] = sizeof($str[$blocks[$blockcount]]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue