From b771345a46bcd229ae988a09a7cfa56c758d584a Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 16 Nov 2001 21:05:21 +0000 Subject: [PATCH] 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 --- functions/gettext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1