Aleksander Machniak
2015-03-31 bb2113ccdcfb2eb3c7b04c161a6b21ef893eee7e
plugins/zipdownload/zipdownload.php
@@ -211,6 +211,11 @@
            $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);