1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 14:57:37 +02:00

[ticket/10147] Corrected a typo in includes/functions_template.php.

PHPBB3-10147
This commit is contained in:
Oleg Pudeyev
2011-04-21 12:00:04 -04:00
parent 0a8893498d
commit a8ecd30fe1

View File

@@ -322,7 +322,7 @@ class template_compile
// Is the designer wanting to call another loop in a loop? // Is the designer wanting to call another loop in a loop?
if (strpos($tag_args, '!') === 0) if (strpos($tag_args, '!') === 0)
{ {
// Count the number if ! occurrences (not allowed in vars) // Count the number of ! occurrences (not allowed in vars)
$no_nesting = substr_count($tag_args, '!'); $no_nesting = substr_count($tag_args, '!');
$tag_args = substr($tag_args, $no_nesting); $tag_args = substr($tag_args, $no_nesting);
} }