Follow-up to feature #10565: Condition PIDinRootline did not work anymore
authorOliver Hader <oliver.hader@typo3.org>
Sun, 8 Mar 2009 12:32:45 +0000 (12:32 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sun, 8 Mar 2009 12:32:45 +0000 (12:32 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5141 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_matchcondition.php

index f2e23fa..efcabf6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-08  Oliver Hader  <oliver@typo3.org>
+
+       * Follow-up to feature #10565: Condition PIDinRootline did not work anymore
+
 2009-03-07  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Follow-up for feature #7970: fontstyle and fontsize should not use deprecated font tag
index fd857a4..ec1d6a9 100644 (file)
@@ -349,7 +349,7 @@ class t3lib_matchCondition {
                                if (($key=='PIDinRootline') || (!in_array($GLOBALS['TSFE']->id, $values))) {
                                        $theRootLine = is_array($GLOBALS['TSFE']->tmpl->rootLine) ? $GLOBALS['TSFE']->tmpl->rootLine : $this->altRootLine;
                                    foreach ($values as $test) {
-                                       foreach ($theRootline as $rl_key => $rl_dat) {
+                                       foreach ($theRootLine as $rl_dat) {
                                                        if ($rl_dat['uid'] == $test) {
                                                            return true;
                                                        }