Fix E_ALL notice, thanks Alexandros.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 29 May 2003 10:12:57 +0000 (10:12 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 29 May 2003 10:12:57 +0000 (10:12 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4953 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/translate/setup.php

index 7223302f2aa7c0c641e3427480db6267d6b03725..927831ae58b1ad59f44a676e95269e03e9ee264b 100644 (file)
@@ -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;
         }