Skip to content

Commit

Permalink
Update MLControl.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nmiyazaki-chapleau authored May 28, 2024
1 parent 6c0ef91 commit c433d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traits/MLControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function getLocaleFieldName($code)
{
$suffix = '';

if ($this->isLongFormNeeded() && empty($this->formField->arrayName)) {
if ($this->isLongFormNeeded() && !empty($this->formField->arrayName)) {
$names = HtmlHelper::nameToArray($this->formField->arrayName);
$suffix = '[' . implode('][', $names) . ']';
}
Expand Down

0 comments on commit c433d32

Please sign in to comment.