Skip to content

Commit

Permalink
DoctrineFormService: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pepakriz committed Oct 15, 2014
1 parent e839070 commit 9a128e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/DoctrineFormService.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function createFormFactory(IFormFactory $formFactory, BaseEntity $enti
protected function getEntity($primaryKey)
{
return $primaryKey !== null
? $entity = $this->getRepository()->find($primaryKey)
? $this->getRepository()->find($primaryKey)
: $this->createEntity();
}

Expand Down

0 comments on commit 9a128e4

Please sign in to comment.