Browse Source

fopen likely doesn't return === false. It probably returns 0 or something
equivalent (==) false.

Tyler Akins 23 years ago
parent
commit
9a18eaf092
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/gettext.php

+ 1 - 1
functions/gettext.php

@@ -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;