From 678ea0449783897eff7b8572ad55f8c9ffe18895 Mon Sep 17 00:00:00 2001 From: David M Date: Fri, 10 Mar 2006 00:24:46 +0000 Subject: We all make mistakes :D git-svn-id: file:///svn/phpbb/trunk@5617 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_template.php') 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': -- cgit v1.2.1