summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_storage.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-02-11 09:06:53 +0100
committerAleksander Machniak <alec@alec.pl>2014-02-11 09:15:14 +0100
commite089c5adc83b7b0a9085a0de3cc018184abc0316 (patch)
treec5bd304e3415cabfbec39425febb609c5e23cea9 /program/lib/Roundcube/rcube_storage.php
parentc4c3e7822d4699c31c05f75ff99123093f07ea80 (diff)
Fix invalid X-Draft-Info on forwarded message draft (#1489587)
Diffstat (limited to 'program/lib/Roundcube/rcube_storage.php')
-rw-r--r--program/lib/Roundcube/rcube_storage.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_storage.php b/program/lib/Roundcube/rcube_storage.php
index ca65af1cb..c09f05328 100644
--- a/program/lib/Roundcube/rcube_storage.php
+++ b/program/lib/Roundcube/rcube_storage.php
@@ -613,7 +613,7 @@ abstract class rcube_storage
/**
* Parse message UIDs input
*
- * @param mixed $uids UIDs array or comma-separated list or '*' or '1:*'
+ * @param mixed $uids UIDs array or comma-separated list or '*' or '1:*'
*
* @return array Two elements array with UIDs converted to list and ALL flag
*/
@@ -633,6 +633,9 @@ abstract class rcube_storage
if (is_array($uids)) {
$uids = join(',', $uids);
}
+ else if (strpos($uids, ':')) {
+ $uids = join(',', rcube_imap_generic::uncompressMessageSet($uids));
+ }
if (preg_match('/[^0-9,]/', $uids)) {
$uids = '';