aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/template/context.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template/context.php b/phpBB/includes/template/context.php
index e3ad6be46c..c5ce7422b9 100644
--- a/phpBB/includes/template/context.php
+++ b/phpBB/includes/template/context.php
@@ -165,7 +165,7 @@ class phpbb_template_context
// Set S_NUM_ROWS
foreach ($str[$blocks[$blockcount]] as &$mod_block)
{
- $mod_block['S_NUM_ROWS'] = $blockcount;
+ $mod_block['S_NUM_ROWS'] = sizeof($str[$blocks[$blockcount]]);
}
}
else