From 24e63e22188678407b180944f4c7bb9f494f09ee Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 13 Apr 2014 17:57:37 +0200 Subject: Fix deleting/moving folders from folders with name "0", "00", etc. --- program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcmail.php') 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; -- cgit v1.2.3