Aleksander Machniak
2014-04-14 ef925bb49cbc49caf52e3d3dbe91ffdc98ae8841
Fix invalid page title for some folders (1489804)
2 files modified
3 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcmail.php 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -8,6 +8,7 @@
- Fix messages index cache update under some conditions (e.g. proxy) (#1489756)
- Fix lack of translation of special folders in some configurations (#1489799)
- Fix XSS issue in plain text spellchecker (#1489806)
- Fix invalid page title for some folders (1489804)
RELEASE 1.0.0
-------------
program/include/rcmail.php
@@ -1637,7 +1637,7 @@
            $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));