Skip to content

Commit 08a7b53

Browse files
authored
Apply suggestion from @rimi-itk
1 parent a24177e commit 08a7b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/os2forms_nemid/src/Plugin/WebformElement/NemidAddress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function alterForm(array &$element, array &$form, FormStateInterface $for
5252
// It is important the 'os2forms_nemid_submission_set_address_protected'
5353
// submit action is executed before the 'save' action. Otherwise,
5454
// submissions are both created and completed, resulting in unexpected
55-
// behavior, e.g., handlers being run twice.
55+
// behavior, e.g. handlers being run twice.
5656
if (isset($form['actions']['submit']['#submit']) && is_array($form['actions']['submit']['#submit'])) {
5757
array_unshift($form['actions']['submit']['#submit'], 'os2forms_nemid_submission_set_address_protected');
5858
}

0 commit comments

Comments
 (0)