Fixed bug #7558: typolinkCheckRootline is broken in 4.2
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Sat, 16 Feb 2008 23:07:21 +0000 (23:07 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Sat, 16 Feb 2008 23:07:21 +0000 (23:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3174 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index 60afdac..8c2302e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-17  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Fixed bug #7558: typolinkCheckRootline is broken in 4.2
+
 2008-02-15  Benjamin Mack  <mack@xnos.org>
 
        * Fixed bug #5303: t3skin - pilup.gif not the same style as pildown.gif
index c976f0d..3d18057 100755 (executable)
@@ -5296,7 +5296,7 @@ class tslib_cObj {
                                                        }
                                                        if (!$tCR_flag) {
                                                                foreach ($tCR_rootline as $tCR_data)    {
-                                                                       $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'sys_domain', 'pid='.intval($tCR_data['uid']).' AND redirectTo=\'\''.$this->enableFields('sys_domain'), '', 'sorting');
+                                                                       $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('domainName', 'sys_domain', 'pid='.intval($tCR_data['uid']).' AND redirectTo=\'\''.$this->enableFields('sys_domain'), '', 'sorting');
                                                                        $row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
                                                                        $GLOBALS['TYPO3_DB']->sql_free_result($res);
                                                                        if ($row)       {