summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-24 12:49:12 +0200
committerAleksander Machniak <alec@alec.pl>2014-10-24 12:49:12 +0200
commit9d0d40308c79218419e24d3d118f4bcf09df059b (patch)
tree5ad07be410795722a898cb23c87f6c70bd13faaa
parentbf9c9b3e38f984b5cca82d869252900963466b98 (diff)
parenta235f79df9b3e94e52e22008e9af858e094fd25f (diff)
Merge pull request #238 from bnogas/master-p5
Fix of really fix UNKNOWN-CTE handling
-rw-r--r--program/lib/Roundcube/rcube_imap_generic.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php
index 63d4f0690..d78b526dd 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -2569,7 +2569,6 @@ class rcube_imap_generic
return false;
}
- $initiated = false;
$binary = true;
do {
@@ -2732,7 +2731,7 @@ class rcube_imap_generic
}
}
}
- } while (!$this->startsWith($line, $key, true));
+ } while (!$this->startsWith($line, $key, true) || !$initiated);
if ($result !== false) {
if ($file) {