Seriously? The variable is named as an array and initialized as a string? Well, I...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Dec 2017 20:03:40 +0000 (20:03 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Dec 2017 20:03:40 +0000 (20:03 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14748 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php

index 34ee573399131c8c79c6e9f657b4e7f3faa90706..943b952f8431fcd076d37c27bb73d7e55fef797f 100755 (executable)
@@ -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 = '';