From: stekkel Date: Mon, 21 Nov 2005 21:46:48 +0000 (+0000) Subject: fixed warning (by Michael Long) X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=628dba17ca643fd316ab6f1a1800ce8cc300f3fd fixed warning (by Michael Long) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10391 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 38579733..b4c62084 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -815,9 +815,13 @@ function parseFetch($aResponse,$aMessageList = array()) { break; } } - $msgi ="$unique_id"; - $aMsg['UID'] = $unique_id; - $aMessageList[$msgi] = $aMsg; + if (!empty($unique_id)) { + $msgi = "$unique_id"; + $aMsg['UID'] = $unique_id; + } else { + $msgi = ''; + } + $aMessageList[$msgi] = $aMsg; } return $aMessageList; }