Project

General

Profile

Bug #23554 » 15733_trunk.diff

Administrator Admin, 2010-09-17 16:22

View differences:

typo3/sysext/cms/tslib/class.tslib_adminpanel.php (working copy)
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;
(1-1/4)