diff options
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index d7a2bfa5f8..3d9e0d605a 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -763,7 +763,7 @@ class template $new_tokens = $this->_parse_is_expr($is_arg, array_slice($tokens, $i+1)); - array_splice($tokens, $is_arg_start, count($tokens), $new_tokens); + array_splice($tokens, $is_arg_start, sizeof($tokens), $new_tokens); $i = $is_arg_start; |