summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Nogas <bart.nogas@gmail.com>2014-10-24 12:23:33 +0200
committerAleksander Machniak <alec@alec.pl>2014-10-24 13:01:54 +0200
commit281ca0ea2a368a5ecd62344bffaa4b4a5986db9e (patch)
tree1181d6c7e628703943dc504be4eec9f120361060
parent7653ed107e008f917fdfc0530f2409644c7e982b (diff)
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 494185913..efdf0871e 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -2530,7 +2530,6 @@ class rcube_imap_generic
return false;
}
- $initiated = false;
$binary = true;
do {
@@ -2693,7 +2692,7 @@ class rcube_imap_generic
}
}
}
- } while (!$this->startsWith($line, $key, true));
+ } while (!$this->startsWith($line, $key, true) || !$initiated);
if ($result !== false) {
if ($file) {