summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-04-24 12:41:48 +0000
committeralecpl <alec@alec.pl>2011-04-24 12:41:48 +0000
commit1463a5ac247fed6707caca385837165597c084de (patch)
tree01ce5e6c20950f30d57e6c7bdbb1a706c20dfa77
parentc14fa83e00a3a543e211ad25553c7bc584c43f41 (diff)
- Fix ID command response handling
-rw-r--r--program/include/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 932ec638d..51c7c2f4e 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -1215,7 +1215,7 @@ class rcube_imap_generic
if ($code == self::ERROR_OK && preg_match('/\* ID /i', $response)) {
$response = substr($response, 5); // remove prefix "* ID "
- $items = $this->tokenizeResponse($response);
+ $items = $this->tokenizeResponse($response, 1);
$result = null;
for ($i=0, $len=count($items); $i<$len; $i += 2) {