aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-05 12:47:50 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-05 12:47:50 -0500
commit05984be2c002133d1dd7f546e4238749b275f9f6 (patch)
tree6d9b8a6c3410bac558beba6c4c2ed998c92bf5e0 /phpBB/includes
parent13c356545465a457b8c55dd9638f89165bab6271 (diff)
downloadforums-05984be2c002133d1dd7f546e4238749b275f9f6.tar
forums-05984be2c002133d1dd7f546e4238749b275f9f6.tar.gz
forums-05984be2c002133d1dd7f546e4238749b275f9f6.tar.bz2
forums-05984be2c002133d1dd7f546e4238749b275f9f6.tar.xz
forums-05984be2c002133d1dd7f546e4238749b275f9f6.zip
[feature/twig] Fix S_NUM_ROWS assignment
PHPBB3-11598
Diffstat (limited to 'phpBB/includes')
-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