Commit 891c67f0 authored by Carsten  Rose's avatar Carsten Rose
Browse files

#5880 / Skip Error Message during dynamicUpdate

FillStoreForm.php: remove sanitize check during dynamic update.
parent 597f292b
......@@ -265,7 +265,7 @@ class FillStoreForm {
}
// Check only if there is something.
if ($val !== '') {
if ($val !== '' && $formMode!=FORM_UPDATE) {
$val = Sanitize::sanitize($val, $formElement[FE_CHECK_TYPE], $formElement[FE_CHECK_PATTERN],
$formElement[FE_DECIMAL_FORMAT], SANITIZE_EXCEPTION);
if ($formElement[FE_ENCODE] === FE_ENCODE_SPECIALCHAR) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment