We all make mistakes :D

git-svn-id: file:///svn/phpbb/trunk@5617 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2006-03-10 00:24:46 +00:00
parent f02a98c71b
commit 678ea04497

View file

@ -473,7 +473,7 @@ class template_compile
{ {
preg_match('#true|false|\.#i', $match[4], $type); preg_match('#true|false|\.#i', $match[4], $type);
switch (strtolower($type[1])) switch (strtolower($type[0]))
{ {
case 'true': case 'true':
case 'false': case 'false':