Strict type check prevents old config files from breaking everything (per new changes...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 9 Oct 2006 11:52:17 +0000 (11:52 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 9 Oct 2006 11:52:17 +0000 (11:52 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11874 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/template/Template.class.php

index 70705ae..a8eb2ee 100644 (file)
@@ -238,7 +238,7 @@ class Template
         //
         $found_it = FALSE;
         foreach ($aTemplateSet as $aTemplate) {
-            if ($aTemplate['ID'] == $templateset_fallback) {
+            if ($aTemplate['ID'] === $templateset_fallback) {
                 $found_it = TRUE;
                 break;
             }
@@ -289,7 +289,7 @@ class Template
         //
         $found_it = FALSE;
         foreach ($aTemplateSet as $aTemplate) {
-            if ($aTemplate['ID'] == $templateset_default) {
+            if ($aTemplate['ID'] === $templateset_default) {
                 $found_it = TRUE;
                 break;
             }