summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-18 15:24:49 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-18 15:24:49 +0100
commit61be822d62ea245b7f54ad313f49a956ab49076d (patch)
tree2e351bb7796481af16502c85c6f24a896094f522 /program/include/rcmail.php
parent4d7964d9101d08b5e7533cea50e52e07bf3f783a (diff)
Remove deprecated functions (from bc.php file) usage in plugins
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index c734216ac..5f2a2177b 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1692,7 +1692,7 @@ class rcmail extends rcube
$count = count($path);
if ($count > 1) {
- for ($i = 1; $i < $count; $i++) {
+ for ($i = 0; $i < $count; $i++) {
$folder = implode($delimiter, array_slice($path, 0, -$i));
if ($folder_class = $this->folder_classname($folder)) {
$name = implode($delimiter, array_slice($path, $count - $i));