fopen likely doesn't return === false. It probably returns 0 or something
[squirrelmail.git] / functions / gettext.php
index ba0c4624025fd07ceac8b6bb28ce234ad3fb91a8..7f8c59624b25be143b2d167fd826470ba40b7b03 100644 (file)
@@ -59,7 +59,7 @@
          $gettext_php_domain . '.po';
       
       $file = @fopen($filename, 'r');
-      if ($file === false) {
+      if ($file == false) {
          // Uh-ho -- we can't load the file.  Just fake it.  :-)
         // This is also for English, which doesn't use translations
          $gettext_php_loaded = true;