-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Describe the bug
After the fresh install went ok, first thing i click is on module to configure i get
Warning: Undefined array key "id"
ErrorException
in classes/helper/HelperForm.php (line 120)
$switch_values = $params['values']; if (!empty($params['values'])) { foreach ($switch_values as $k => $value) { if (!isset($value['label'])) { $default_key = (int) $value['value'] ? 1 : 0; $defautl_label = $default_switch_labels[$value['id']] ?? $default_switch_values[$default_key]['label']; $this->fields_form[$fieldset_key]['form']['input'][$key]['values'][$k]['label'] = $defautl_label; } } } else { $this->fields_form[$fieldset_key]['form']['input'][$key]['values'] = $default_switch_values;
Prestashop version(s)
Fresh install of PS 8.1.2
