From 7da7c27667f570b09c9f4f0e4603a72aaac97dfb Mon Sep 17 00:00:00 2001 From: Aaron Bauman <aaron@messageagency.com> Date: Wed, 22 May 2024 15:02:42 -0400 Subject: [PATCH] Fixes fatal error on salesforce logger page --- modules/salesforce_logger/src/Form/SettingsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/salesforce_logger/src/Form/SettingsForm.php b/modules/salesforce_logger/src/Form/SettingsForm.php index c1feb199..1445dc3a 100644 --- a/modules/salesforce_logger/src/Form/SettingsForm.php +++ b/modules/salesforce_logger/src/Form/SettingsForm.php @@ -59,7 +59,7 @@ class SettingsForm extends ConfigFormBase { $form['log_push_params_sanitized_fields'] = [ '#title' => $this->t('Fields that must not be shown in logs'), '#type' => 'textarea', - '#default_value' => implode("\r\n", $config->get('log_push_params_sanitized_fields') ?? []), + '#default_value' => implode("\r\n", $config->get('log_push_params_sanitized_fields') ? $config->get('log_push_params_sanitized_fields') : []), ]; $form['log_push_success'] = [ -- GitLab