Skip to content

Commit

Permalink
Merge branch 'patch-5' of git://github.com/Slamdunk/zf2 into hotfix/2765
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Oct 16, 2012
2 parents bc66dc3 + 26e9eab commit bd3fae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/Csrf.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function getCsrfValidator()
if (null === $this->csrfValidator) {
$csrfOptions = $this->getCsrfValidatorOptions();
$csrfOptions = array_merge($csrfOptions, array('name' => $this->getName()));
$this->csrfValidator = new CsrfValidator($csrfOptions);
$this->setCsrfValidator(new CsrfValidator($csrfOptions));
}
return $this->csrfValidator;
}
Expand Down

0 comments on commit bd3fae7

Please sign in to comment.