Closed (fixed)
Project:
Browser update
Version:
2.1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2022 at 06:58 UTC
Updated:
20 Dec 2022 at 09:54 UTC
Jump to comment: Most recent
PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' in /bu/src/Form/SettingsForm.php on line 65
Add missing '#options' => $options on line 64.
$form['notify'] = [
'#type' => 'details',
'#open' => TRUE,
'#title' => $this->t('Browser Versions'),
'#description' => $this->t('Choose which of the following browser versions will see the notification:'),
'notify_ie' => [
'#type' => 'select',
'#title' => $this->t('IE/Edge'),
'#options' => $options,
'#default_value' => $bu_config->get('notify_ie'),
],
Comments
Comment #2
laurentd commentedComment #3
pebosi commentedNew version pushed, thx.
Comment #4
pebosi commentedComment #5
pebosi commented