Skip to content

Commit

Permalink
Issue openeuropa#1455: Allowing optional name attribute to be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
pefferen committed Dec 9, 2024
1 parent 568bf87 commit a450164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oe_theme.theme
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ function _oe_theme_preprocess_search_input_text(array $element): array {
// Process element attributes into an ECL input array.
$ecl_array = [
'id' => $element['#attributes']['id'],
'name' => $element['#attributes']['name'],
'name' => $element['#attributes']['name'] ?? '',
'disabled' => $element['#attributes']['disabled'] ?? FALSE,
'type' => $element['#attributes']['type'],
'class' => $element['#attributes']['class'],
Expand Down

0 comments on commit a450164

Please sign in to comment.