Ver código fonte

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.

pdontthink 7 anos atrás
pai
commit
eb6563d978
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      functions/imap_general.php

+ 1 - 1
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 = '';