Project

General

Profile

Bug #23232 ยป 15179.diff

Administrator Admin, 2010-07-20 11:34

View differences:

t3lib/class.t3lib_page.php (working copy)
$loopCheck = 0;
$theRowArray = Array();
while ($uid!=0 && $loopCheck<20) { // Max 20 levels in the page tree.
while ($uid != 0 && $loopCheck < 99) { // Max 99 levels in the page tree.
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery($selFields, 'pages', 'uid='.intval($uid).' AND pages.deleted=0 AND pages.doktype!=255');
$row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
$GLOBALS['TYPO3_DB']->sql_free_result($res);
    (1-1/1)