Project

General

Profile

Bug #22115 ยป 13529.diff

Administrator Admin, 2010-02-13 11:19

View differences:

t3lib/class.t3lib_tcemain.php (working copy)
*/
function findPageIdsForVersionStateChange($table, $idList, $workspaceId, &$pageIdList, &$elementList) {
if ($workspaceId != 0) {
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('DISTINCT(B.pid)',
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('DISTINCT B.pid',
$table . ' A,' . $table . ' B',
'A.pid=-1' . // Offline version
' AND A.t3ver_wsid=' . $workspaceId .
......
foreach($TCA as $table => $cfg) {
if ($TCA[$table]['ctrl']['versioningWS'] && $table != 'pages') {
// Using SELECTquery for better debugging
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('DISTINCT(A.uid)',
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('DISTINCT A.uid',
$table . ' A,' . $table . ' B',
'A.pid=-1' . // Offline version
' AND A.t3ver_wsid=' . $workspaceId .
    (1-1/1)