Fix zipped messages downloads after selecting all messages in a folder (#1490339)

pull/280/head
Aleksander Machniak 9 years ago
parent 68f76fddbe
commit 91ac83e82f

@ -2,6 +2,7 @@ CHANGELOG Roundcube Webmail
===========================
- Fix handling of %-encoded entities in mailto: URLs (#1490346)
- Fix zipped messages downloads after selecting all messages in a folder (#1490339)
RELEASE 1.1.1
-------------

@ -211,6 +211,11 @@ class zipdownload extends rcube_plugin
$imap->set_folder($mbox);
$path = $folders ? str_replace($imap->get_hierarchy_delimiter(), '/', $mbox) . '/' : '';
if ($uids === '*') {
$index = $imap->index($mbox, null, null, true);
$uids = $index->get();
}
foreach ($uids as $uid) {
$headers = $imap->get_message_headers($uid);

Loading…
Cancel
Save