Skip to content

Commit

Permalink
Fix existing fields not appearing for forms
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Feb 19, 2021
1 parent 9670cae commit 5a1c513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function getRegisteredFields(): array
*/
public function getExistingFields($excludeForm = null): array
{
if ($this->_existingFields !== null) {
if ($this->_existingFields) {
return $this->_existingFields;
}

Expand Down

0 comments on commit 5a1c513

Please sign in to comment.