summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-03 15:55:43 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-03 15:55:43 +0200
commitef5a1c66aa269cbfbb93070fa3017ee87174f696 (patch)
tree35a577726a44ef6aeac91ddeb384309630e51d8e /program
parent6c1c60f3b908aa922a46cbae94a03eb162147b70 (diff)
Fix bug where last folder on the list wasn't displayed in folder manager
Diffstat (limited to 'program')
-rw-r--r--program/steps/settings/folders.inc2
1 files changed, 1 insertions, 1 deletions
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);
}