From 008ca1ad42c9618ae3b6f65bc30eca766930ef19 Mon Sep 17 00:00:00 2001 From: kink Date: Thu, 29 May 2003 10:12:57 +0000 Subject: [PATCH] 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 --- plugins/translate/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1