Skip to content

Commit

Permalink
Merge pull request #61 from phyzical/ISSUE-60
Browse files Browse the repository at this point in the history
Addressable getFrontendFields issues
  • Loading branch information
Nathan authored Jun 1, 2020
2 parents b2d08c6 + b465d02 commit f65c4c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Addressable.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ public function updateCMSFields(FieldList $fields)

public function updateFrontEndFields(FieldList $fields)
{
if (!$fields->dataFieldByName("Address")) {
$fields->merge($this->getAddressFields());
}
$fields->merge($this->getAddressFields());
}

public function populateDefaults()
Expand Down

0 comments on commit f65c4c2

Please sign in to comment.