From ef5a1c66aa269cbfbb93070fa3017ee87174f696 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 3 Aug 2014 15:55:43 +0200 Subject: [PATCH] Fix bug where last folder on the list wasn't displayed in folder manager --- program/steps/settings/folders.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/settings/folders.inc b/program/steps/settings/folders.inc index 19c4457a1..061cd8893 100644 --- a/program/steps/settings/folders.inc +++ b/program/steps/settings/folders.inc @@ -373,7 +373,7 @@ function rcube_subscription_form($attrib) array_unshift($plugin['list'], $root); - for ($i = 0, $length = count($plugin['list'])-1; $i<$length; $i++) { + for ($i = 0, $length = count($plugin['list']); $i<$length; $i++) { $folders[] = rcmail_folder_tree_element($plugin['list'], $i, $js_folders); }