mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
[feature/twig] Fix S_NUM_ROWS assignment
PHPBB3-11598
This commit is contained in:
parent
13c3565454
commit
05984be2c0
@ -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…
x
Reference in New Issue
Block a user