diff options
author | alecpl <alec@alec.pl> | 2012-04-18 17:44:42 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-18 17:44:42 +0000 |
commit | e7ca048d0516339935c8836c80cd59989caf2f8a (patch) | |
tree | ce9534bc336864a0269eba7bbe3c6416565c616f /program/include | |
parent | d13f3293eaacd1263f620971d9304dbf2786a0dc (diff) |
- Fix render_folder_tree_select() (#1488441)
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcmail.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 5394055e6..024fd3ec3 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1577,13 +1577,13 @@ class rcmail extends rcube if ($maxlength && $maxlength > 1) { $foldername = abbreviate_string($foldername, $maxlength); } + } - $select->add(str_repeat(' ', $nestLevel*4) . $foldername, $folder['id']); + $select->add(str_repeat(' ', $nestLevel*4) . $foldername, $folder['id']); - if (!empty($folder['folders'])) { - $out .= $this->render_folder_tree_select($folder['folders'], $mbox_name, $maxlength, - $select, $realnames, $nestLevel+1, $opts); - } + if (!empty($folder['folders'])) { + $out .= $this->render_folder_tree_select($folder['folders'], $mbox_name, $maxlength, + $select, $realnames, $nestLevel+1, $opts); } } |