scrutinizer in core/class/html.formsetup.class.php: variable $valconst wasn't defined for all paths
This commit is contained in:
parent
44728ff93a
commit
21274c9432
@ -758,6 +758,8 @@ class FormSetupItem
|
|||||||
$val = GETPOST($this->confKey, 'array');
|
$val = GETPOST($this->confKey, 'array');
|
||||||
if ($val && is_array($val)) {
|
if ($val && is_array($val)) {
|
||||||
$val_const = implode(',', $val);
|
$val_const = implode(',', $val);
|
||||||
|
} else {
|
||||||
|
$val_const = '';
|
||||||
}
|
}
|
||||||
} elseif ($this->type == 'html') {
|
} elseif ($this->type == 'html') {
|
||||||
$val_const = GETPOST($this->confKey, 'restricthtml');
|
$val_const = GETPOST($this->confKey, 'restricthtml');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user