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 7223302..927831a 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;
         }