Aleksander Machniak
2014-07-11 a8282f1359a447f22ced217aa18bb5b9d857f3d9
program/lib/Roundcube/rcube_imap_generic.php
@@ -1854,8 +1854,8 @@
                        $result[$id] = '';
                    }
                } else if ($mode == 2) {
                    if (preg_match('/(UID|RFC822\.SIZE) ([0-9]+)/', $line, $matches)) {
                        $result[$id] = trim($matches[2]);
                    if (preg_match('/' . $index_field . ' ([0-9]+)/', $line, $matches)) {
                        $result[$id] = trim($matches[1]);
                    } else {
                        $result[$id] = 0;
                    }