Project

General

Profile

Bug #24115 ยป 16456.diff

Administrator Admin, 2010-11-18 01:34

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
function checkPidArray($listArr) {
$outArr = array();
if (is_array($listArr) && count($listArr)) {
$query = $GLOBALS['TYPO3_DB']->SELECTquery(
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'uid',
'pages',
'uid IN (' . implode(',', $listArr) . ')' . $this->enableFields('pages') .
' AND doktype NOT IN (' . $this->checkPid_badDoktypeList . ')'
);
$res = $GLOBALS['TYPO3_DB']->sql_query($query);
if ($error = $GLOBALS['TYPO3_DB']->sql_error()) {
$GLOBALS['TT']->setTSlogMessage($error . ': ' . $query, 3);
} else {
    (1-1/1)