Skip to content

Commit

Permalink
Merge pull request propelorm#238 from cedriclombardot/patch-1
Browse files Browse the repository at this point in the history
addViolationAtSubPath replaced by addViolationAt in symfony 2.3
  • Loading branch information
havvg committed Jun 7, 2013
2 parents f265228 + 532cfd4 commit fbeb29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Validator/Constraints/UniqueObjectValidator.php
Expand Up @@ -61,7 +61,7 @@ public function validate($object, Constraint $constraint)
);
}

$this->context->addViolationAtSubPath(
$this->context->addViolationAt(
$constraint->errorPath,
$constraint->message,
array(
Expand Down

0 comments on commit fbeb29e

Please sign in to comment.