summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-14 17:28:31 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-14 17:29:11 +0200
commitef925bb49cbc49caf52e3d3dbe91ffdc98ae8841 (patch)
treeb8b95771c86136223ac5f940c7b19203e05c76ee /program
parentfd309c365005d1dfee102fea1accb36c29788a0b (diff)
Fix invalid page title for some folders (1489804)
Diffstat (limited to 'program')
-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 ca944f447..bf2291310 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1637,7 +1637,7 @@ class rcmail extends rcube
$count = count($path);
if ($count > 1) {
- for ($i = 0; $i < $count; $i++) {
+ for ($i = 1; $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));