Project

General

Profile

Bug #39048 » class.t3lib_tceforms_inline.php.patch

Patch for 4.7.2 - Alexander Jahn, 2012-07-18 09:36

View differences:

../../typo3_src/typo3_src-4.7.2/t3lib/class.t3lib_tceforms_inline.php (revision )
} else {
// set additional field for processing for saving
$fields .= '<input type="hidden" name="' . $this->prependCmdFieldNames . $appendFormFieldNames . '[delete]" value="1" disabled="disabled" />';
if (!$isExpanded && !empty($GLOBALS['TCA'][$foreign_table]['ctrl']['enablecolumns']['disabled'])) {
if (!$isExpanded && !empty($GLOBALS['TCA'][$foreign_table]['ctrl']['enablecolumns']['disabled']) && $ajaxLoad) {
$checked = (!empty($rec['hidden']) ? ' checked="checked"' : '');
$fields .= '<input type="checkbox" name="' . $this->prependFormFieldNames . $appendFormFieldNames . '[hidden]_0" value="1"' . $checked . ' />';
$fields .= '<input type="input" name="' . $this->prependFormFieldNames . $appendFormFieldNames . '[hidden]" value="' . $rec['hidden'] . '" />';
(2-2/2)