Project

General

Profile

Bug #24007 ยป ws_pid.patch

Administrator Admin, 2010-11-10 17:34

View differences:

t3lib/class.t3lib_page.php (Arbeitskopie)
// Filter out new place-holder records in case we are NOT in a versioning preview (that means we are online!)
if ($ctrl['versioningWS'] && !$this->versioningPreview) {
$query.=' AND '.$table.'.t3ver_state<=0'; // Shadow state for new items MUST be ignored!
$query.=' AND '.$table.'.t3ver_state<=0 AND '.$table.'.pid != -1'; // Shadow state for new items MUST be ignored!
}
// Enable fields:
    (1-1/1)