diff --git a/public/sites/default/settings.php b/public/sites/default/settings.php index e402d926d..ae697258e 100644 --- a/public/sites/default/settings.php +++ b/public/sites/default/settings.php @@ -245,7 +245,9 @@ function drupal_get_env(string|array $variables) : mixed { 'PROJECT_NAME', ]); -if ($artemis_brokers = getenv('ARTEMIS_BROKERS') && $artemis_destination) { +$artemis_brokers = getenv('ARTEMIS_BROKERS'); + +if ($artemis_brokers && $artemis_destination) { $settings['stomp']['default'] = [ 'clientId' => getenv('ARTEMIS_CLIENT_ID') ?: 'artemis', 'login' => getenv('ARTEMIS_LOGIN'),