16456.diff

Administrator Admin, 2010-11-18 01:34

Download (851 Bytes)

View differences:

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