Skip to content

Commit

Permalink
in code mistake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikoff committed Dec 23, 2017
1 parent eb5d206 commit cd338ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Manipulator/DefaultManipulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function getFieldsConfig(FormInterface $form)
$objectFields = $this->objectInfo->getFieldsConfig($class);
$objectFields = $this->filterObjectFields($objectFields, $formOptions['excluded_fields']);

if (!empty($formFields)) {
if (empty($formFields)) {
return $objectFields;
}

Expand Down

0 comments on commit cd338ba

Please sign in to comment.