Fix bug where last folder on the list wasn't displayed in folder manager

pull/210/head
Aleksander Machniak 10 years ago
parent 6c1c60f3b9
commit ef5a1c66aa

@ -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);
}

Loading…
Cancel
Save