From 43c0e2951112eb600f783fd25ef1357609c87550 Mon Sep 17 00:00:00 2001 From: stekkel Date: Sun, 29 Jun 2003 11:39:48 +0000 Subject: [PATCH] fixed warning. isset doesn't work with string offsets > strlen git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5162 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/mime/Rfc822Header.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/mime/Rfc822Header.class.php b/class/mime/Rfc822Header.class.php index 0b35277a..07102c41 100644 --- a/class/mime/Rfc822Header.class.php +++ b/class/mime/Rfc822Header.class.php @@ -293,7 +293,7 @@ class Rfc822Header { // check the next token in case comments appear in the middle of email addresses $prevToken = end($aTokens); if (!in_array($prevToken,$aSpecials,true)) { - if (isset($address{$i+1}) && !in_array($address{$i+1},$aSpecials,true)) { + if ($i+1