Permalink
Browse files

Merge pull request #238 from cedriclombardot/patch-1

addViolationAtSubPath replaced by addViolationAt in symfony 2.3
  • Loading branch information...
2 parents f265228 + 532cfd4 commit fbeb29e51ef65ab1d4ae0bbe38ee0540831b5837 @havvg havvg committed Jun 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Validator/Constraints/UniqueObjectValidator.php
@@ -61,7 +61,7 @@ public function validate($object, Constraint $constraint)
);
}
- $this->context->addViolationAtSubPath(
+ $this->context->addViolationAt(
$constraint->errorPath,
$constraint->message,
array(

0 comments on commit fbeb29e

Please sign in to comment.