diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-13 17:57:37 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-13 17:57:37 +0200 |
commit | 24e63e22188678407b180944f4c7bb9f494f09ee (patch) | |
tree | 32c4afc7abce7f2db1e3870fa89ab688b0560b93 /program/include/rcmail.php | |
parent | a5949991351c70eb462f779368ceb0efbeea14fb (diff) |
Fix deleting/moving folders from folders with name "0", "00", etc.
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 7b663ca25..1fd077665 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -2050,7 +2050,7 @@ class rcmail extends rcube // create a per-folder UIDs array foreach ((array)$_uid as $uid) { list($uid, $mbox) = explode('-', $uid, 2); - if (empty($mbox)) + if (!strlen($mbox)) $mbox = $_mbox; if ($uid == '*') $result[$mbox] = $uid; |