Project

General

Profile

Bug #11572 » 11572.patch

Tolleiv Nietsch, 2010-12-19 10:50

View differences:

t3lib/class.t3lib_befunc.php (working copy)
return ' AND (' . $table . '.t3ver_state <= 0 OR ' . $table . '.t3ver_wsid = ' . $currentWorkspace . ')';
} elseif ($GLOBALS['TCA'][$table]['ctrl']['versioningWS'] == 2) {
// if in live workspace, don't show "MOVE-TO-PLACEHOLDERS"
return ' AND (' . $table . '.t3ver_state != 3)';
return ' AND ' . $table . '.t3ver_state != 3 AND ' . $table . '.t3ver_wsid = 0';
}
}
}
(3-3/4)