Problem/Motivation

PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' in /bu/src/Form/SettingsForm.php on line 65

Proposed resolution

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

LaurentD created an issue. See original summary.

laurentd’s picture

Issue summary: View changes
pebosi’s picture

New version pushed, thx.

pebosi’s picture

pebosi’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.