Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Commit 93ee23f

Browse files
committed
Restored php 5.6 compatibility
1 parent 0240aab commit 93ee23f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Form/Type/EWZRecaptchaV3Type.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ protected function addCustomVars(FormView $view, FormInterface $form, array $opt
3636
{
3737
$view->vars = array_replace($view->vars, [
3838
'ewz_recaptcha_hide_badge' => $this->hideBadge,
39-
'script_nonce_csp' => $options['script_nonce_csp'] ?? '',
40-
'action_name' => $options['action_name'] ?? '',
39+
'script_nonce_csp' => isset($options['script_nonce_csp']) ? $options['script_nonce_csp'] : '',
40+
'action_name' => isset($options['action_name']) ? $options['action_name'] : '',
4141
]);
4242
}
4343

0 commit comments

Comments
 (0)