Bug #88347 » 88347-placeholder-not-hidden.patch
typo3/cms/typo3/sysext/core/Classes/DataHandling/DataHandler.php | ||
---|---|---|
// Setting workspace - only so display of place holders can filter out those from other workspaces.
|
||
$newVersion_placeholderFieldArray['t3ver_wsid'] = $this->BE_USER->workspace;
|
||
// The initial placeholder must not be hidden to make WS preview work. The offline version can still be hidden.
|
||
if (isset($GLOBALS['TCA'][$table]['ctrl']['enablecolumns']['disabled'])) {
|
||
$newVersion_placeholderFieldArray[$GLOBALS['TCA'][$table]['ctrl']['enablecolumns']['disabled']] = 0;
|
||
}
|
||
$newVersion_placeholderFieldArray[$GLOBALS['TCA'][$table]['ctrl']['label']] = $this->getPlaceholderTitleForTableLabel($table);
|
- « Previous
- 1
- 2
- Next »