Bug #11572 » 11572.patch
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';
|
||
}
|
||
}
|
||
}
|