From: kink Date: Thu, 29 May 2003 10:12:57 +0000 (+0000) Subject: Fix E_ALL notice, thanks Alexandros. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=008ca1ad42c9618ae3b6f65bc30eca766930ef19;p=squirrelmail.git Fix E_ALL notice, thanks Alexandros. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4953 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/translate/setup.php b/plugins/translate/setup.php index 7223302f..927831ae 100644 --- a/plugins/translate/setup.php +++ b/plugins/translate/setup.php @@ -169,7 +169,7 @@ function translate_does_it_match_language($test) { return $true; } - while ($test[$index]) { + while (isset($test[$index]) && $test[$index]) { if ($test[$index] == '*') { return $true; }