Skip to content

Commit

Permalink
Fix PHP 5.3 incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlundrigan committed Dec 13, 2014
1 parent 36c0020 commit c73c7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LdcUserProfile/Service/ProfileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function validate(FormInterface $form, array $data)
$this->getEventManager()->trigger(__METHOD__.'.pre', $this, $argv);
$form->setData($data);
$isValid = $form->isValid();
$this->getEventManager()->trigger(__METHOD__.'.post', $this, $argv + ['success' => $isValid]);
$this->getEventManager()->trigger(__METHOD__.'.post', $this, $argv + array('success' => $isValid));

return $isValid;
}
Expand Down

0 comments on commit c73c7f1

Please sign in to comment.