aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_template.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_template.php')
-rw-r--r--phpBB/includes/functions_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index 05e1d5e2b6..96d0bf740b 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -473,7 +473,7 @@ class template_compile
{
preg_match('#true|false|\.#i', $match[4], $type);
- switch (strtolower($type[1]))
+ switch (strtolower($type[0]))
{
case 'true':
case 'false':