diff --git a/code/ZenValidatorConstraint.php b/code/ZenValidatorConstraint.php index 63a5ee4..0310bd5 100644 --- a/code/ZenValidatorConstraint.php +++ b/code/ZenValidatorConstraint.php @@ -649,7 +649,7 @@ public function validate($value) if (Director::is_relative_url($url)) { $url = Director::makeRelative($url); $postVars = $this->method == 'POST' ? $this->params : null; - $response = Director::test($url, $postVars = null, Controller::curr()->getSession(), $this->method); + $response = Director::test($url, $postVars, Controller::curr()->getSession(), $this->method); $result = ($response->getStatusCode() == 200) ? true : false; // Otherwise CURL to remote url