Skip to content

Commit

Permalink
[Validator] Fixed: $traverse and $deep is passed to the visitor from …
Browse files Browse the repository at this point in the history
…Validator::validate()
  • Loading branch information
webmozart committed May 3, 2013
1 parent e57d87a commit 59b78c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Validator/Validator.php
Expand Up @@ -87,7 +87,7 @@ public function validate($value, $groups = null, $traverse = false, $deep = fals
$visitor = $this->createVisitor($value);

foreach ($this->resolveGroups($groups) as $group) {
$visitor->validate($value, $group, '');
$visitor->validate($value, $group, '', $traverse, $deep);
}

return $visitor->getViolations();
Expand Down

0 comments on commit 59b78c7

Please sign in to comment.