Bug #20412 ยป 0011062.patch
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
$outArr = Array();
|
||
if (is_array($listArr) && count($listArr)) {
|
||
// The root page cannot be checked since there is no page with uid=0:
|
||
if ($table == 'pages' && in_array(0, $listArr, true)) {
|
||
if (in_array(0, $listArr, true)) {
|
||
$outArr[] = 0;
|
||
}
|
||
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'pages', 'uid IN ('.implode(',',$listArr).')'.$this->enableFields('pages').' AND doktype NOT IN ('.$this->checkPid_badDoktypeList.')');
|