소스 검색

Merge pull request #867 from Romain-Geissler/fix-empty-error-bug

Fix empty error bug.
Thomas 13 년 전
부모
커밋
5c81e3d477
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Validator/InlineValidator.php

+ 1 - 1
Validator/InlineValidator.php

@@ -56,6 +56,6 @@ class InlineValidator extends ConstraintValidator
 
         call_user_func($function, $errorElement, $value);
 
-        return count($this->context->getViolations()) == 0;
+        return true;
     }
 }