Permalink
Browse files

Merge branch 'hotfix/2765'

Close #2765
  • Loading branch information...
2 parents bc66dc3 + bd3fae7 commit eb9a75364382a141e79bc7eea65abb2a80824a24 @weierophinney weierophinney committed Oct 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Form/Element/Csrf.php
@@ -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;
}

0 comments on commit eb9a753

Please sign in to comment.