From e7d5ff29db69101e42cd491d2fa42d4f83cd35a4 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Fri, 29 Dec 2017 20:03:40 +0000 Subject: [PATCH] Seriously? The variable is named as an array and initialized as a string? Well, I hope no callers were expecting a potentially empty string, because now they will get an empty array instead. empty() should handle this fine, hopefully callers do something sane like that. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14748 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index 34ee5733..943b952f 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -410,7 +410,7 @@ function sqimap_retrieve_imap_response($imap_stream, $tag, $handle_errors, $read = ''; if (!is_array($message)) $message = array(); if (!is_array($response)) $response = array(); - $aResponse = ''; + $aResponse = array(); $resultlist = array(); $data = array(); $sCommand = ''; -- 2.25.1