Skip to content

Commit c3e8b7a

Browse files
[5.x] Fix appended form config fields when user locale differs from app locale (#11704)
1 parent f9af1f5 commit c3e8b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/CP/Forms/FormsController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ protected function editFormBlueprint($form)
361361
foreach (Form::extraConfigFor($form->handle()) as $handle => $config) {
362362
$merged = false;
363363
foreach ($fields as $sectionHandle => $section) {
364-
if ($section['display'] == $config['display']) {
364+
if ($section['display'] == __($config['display'])) {
365365
$fields[$sectionHandle]['fields'] += $config['fields'];
366366
$merged = true;
367367
}

0 commit comments

Comments
 (0)