Permalink
Browse files

Merge branch 'hotfix/2765' into develop

Forward port #2765
  • Loading branch information...
2 parents ea399b4 + bd3fae7 commit ca70c22c9e33ed68016d2e1f2e19a422cf968a60 @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 ca70c22

Please sign in to comment.