Project

General

Profile

Bug #33625 ยป patch_20120202.diff

Rolf Hofmann, 2012-02-02 15:20

View differences:

class.t3lib_tcemain.php 2012-02-02
}
$where = '';
if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS'])) {
if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS']) && $GLOBALS['TCA'][$table]['ctrl']['versioningWS']) {
$where = ' AND t3ver_oid=0';
}
......
}
$where = '';
if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS'])) {
if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS']) && $GLOBALS['TCA'][$table]['ctrl']['versioningWS']) {
$where = ' AND t3ver_oid=0';
}
$l10nRecords = t3lib_BEfunc::getRecordsByField($table, $GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'], $uid, $where);
......
}
$where = '';
if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS'])) {
if (isset($GLOBALS['TCA'][$table]['ctrl']['versioningWS']) && $GLOBALS['TCA'][$table]['ctrl']['versioningWS']) {
$where = ' AND t3ver_oid=0';
}
    (1-1/1)