Fixed bug #10266: No user authentication for >1 TYPO3 installation under one domain...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_timetrack.php
old mode 100755 (executable)
new mode 100644 (file)
index 7f5d081..a5904e0
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -377,7 +377,7 @@ class t3lib_timeTrack {
                                $temp = array();
                                reset($data['tsStack']);
                                while(list($k,$v)=each($data['tsStack'])) {
-                                       $temp[] = t3lib_div::fixed_lgd_pre(implode($v,$k?'.':'/'),$keyLgd);
+                                       $temp[] = t3lib_div::fixed_lgd_cs(implode($v,$k?'.':'/'),-$keyLgd);
                                }
                                array_pop($temp);
                                $temp = array_reverse($temp);
@@ -392,7 +392,7 @@ class t3lib_timeTrack {
                        } else {
                                $theLabel = $data['key'];
                        }
-                       $theLabel = t3lib_div::fixed_lgd_pre($theLabel, $keyLgd);
+                       $theLabel = t3lib_div::fixed_lgd_cs($theLabel, -$keyLgd);
                        $theLabel = $data['stackPointer'] ? '<span style="color:maroon;">'.$theLabel.'</span>' : $theLabel;
                        $keyLabel = $theLabel.$keyLabel;
                        $item.= '<td valign="top" style="text-align:left; white-space:nowrap; padding-left:2px;'.$bgColor.'">'.($flag_tree?$data['icons']:'').$this->fw($keyLabel).'</td>';