Commit 58c79b2e authored by Ian McLean's avatar Ian McLean
Browse files

Issue #3292302 by vlyalko: phpmailer_smtp form settings not updating

parent 39f338de
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -81,8 +81,8 @@ class SettingsForm extends ConfigFormBase {
   * {@inheritdoc}
   */
  public function buildForm(array $form, FormStateInterface $form_state) {
    // Get immutable config.
    $config = $this->configFactory()->get('phpmailer_smtp.settings');
    // Get mutable config to exclude overrides.
    $config = $this->configFactory()->getEditable('phpmailer_smtp.settings');

    $form['server']['smtp_host'] = [
      '#type' => 'textfield',