Skip to content

Commit 94326ec

Browse files
Merge pull request #6319 from christianbeeznest/ofaj-22662
User: Fix early loop exit that prevented showing all user extra fields on /account/edit - refs BT#22662
2 parents e754e6d + a4283a6 commit 94326ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreBundle/Form/ExtraFieldType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
106106
case \ExtraField::FIELD_TYPE_GEOLOCALIZATION_COORDINATES:
107107
case \ExtraField::FIELD_TYPE_GEOLOCALIZATION:
108108
if (!$geolocalization) {
109-
break 2;
109+
continue;
110110
}
111111

112112
$defaultOptions['data'] = [];

0 commit comments

Comments
 (0)