Project

General

Profile

Bug #23554 » rfc17533-branch44.diff

Administrator Admin, 2010-09-29 18:08

View differences:

typo3/sysext/cms/tslib/class.tslib_adminpanel.php (Arbeitskopie)
if (is_array($value)) {
$query .= $this->getHiddenFields($key, $value);
} else {
$query .= '<input type="hidden" name="' . $key . '" value="' . htmlspecialchars($value) . '">' . LF;
$query .= '<input type="hidden" name="' . htmlspecialchars($key) . '" value="' . htmlspecialchars($value) . '">' . LF;
}
}
}
......
if (is_array($v)) {
$out .= $this->getHiddenFields($key . '[' . $k . ']', $v);
} else {
$out .= '<input type="hidden" name="' . $key . '[' . $k . ']" value="' . htmlspecialchars($v) . '">' . LF;
$out .= '<input type="hidden" name="' . htmlspecialchars($key) . '[' . $k . ']" value="' . htmlspecialchars($v) . '">' . LF;
}
}
return $out;
(4-4/4)