Index: t3lib/class.t3lib_tsfebeuserauth.php =================================================================== --- t3lib/class.t3lib_tsfebeuserauth.php (Revision 2185) +++ t3lib/class.t3lib_tsfebeuserauth.php (Arbeitskopie) @@ -1058,14 +1058,14 @@ $copyAfterFieldsQuery.=' AND '.$fN.'="'.$row[$fN].'"'; } } - + $enableClause = method_exists($GLOBALS['TSFE']->sys_page, 'enableFields') ? $GLOBALS['TSFE']->sys_page->enableFields($table,'',$ignore) : t3lib_pageSelect::enableFields($table,'',$ignore); $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery( 'uid,pid', $table, 'pid='.intval($row['pid']). ' AND '.$sortField.$op.intval($row[$sortField]). $copyAfterFieldsQuery. - $GLOBALS['TSFE']->sys_page->enableFields($table,'',$ignore), + $enableClause, '', $sortField.$desc, '2'