From: fidian Date: Fri, 16 Nov 2001 21:05:21 +0000 (+0000) Subject: fopen likely doesn't return === false. It probably returns 0 or something X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b771345a46bcd229ae988a09a7cfa56c758d584a;p=squirrelmail.git fopen likely doesn't return === false. It probably returns 0 or something equivalent (==) false. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1768 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/gettext.php b/functions/gettext.php index ba0c4624..7f8c5962 100644 --- a/functions/gettext.php +++ b/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;