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 70705ae20835f4f4e3543f314512ae99b1424656..a8eb2ee96f5669e5f0fe9adc1d1d836b598f174f 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;
             }