From 475bcb51d681738f4978b47e05d88eb25cba4b1c Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 16 Aug 2008 08:58:19 +0000 Subject: [PATCH] Eliminate PHP notices. Thanks to Pablo Alvarez de Sotomayor Posadillo git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13261 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/auth.php b/functions/auth.php index 358dea33..53fe9fd3 100644 --- a/functions/auth.php +++ b/functions/auth.php @@ -199,7 +199,7 @@ function digest_md5_response ($username,$password,$challenge,$service,$host,$aut */ function digest_md5_parse_challenge($challenge) { $challenge=base64_decode($challenge); - while (isset($challenge)) { + while (isset($challenge) && $challenge !== FALSE) { if ($challenge{0} == ',') { // First char is a comma, must not be 1st time through loop $challenge=substr($challenge,1); } -- 2.25.1