scrutinizer in core/class/html.formsetup.class.php: variable $valconst wasn't defined for all paths

This commit is contained in:
Faustin 2022-09-10 16:43:04 +02:00
parent 44728ff93a
commit 21274c9432

View File

@ -758,6 +758,8 @@ class FormSetupItem
$val = GETPOST($this->confKey, 'array');
if ($val && is_array($val)) {
$val_const = implode(',', $val);
} else {
$val_const = '';
}
} elseif ($this->type == 'html') {
$val_const = GETPOST($this->confKey, 'restricthtml');