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:28:31 +0200
commita12bbbaf41a200e98e437c2082b9dcc68c5a8f46 (patch)
tree7c33aadcd0550882bffb6ff25bc1a1f4883d6279 /program
parenteb0dec96134916284c5caeb57d1ad23ff67d6264 (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 1fd077665..8d7101e85 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1622,7 +1622,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));