Sfoglia il codice sorgente

Fix empty error bug.

Romain Geissler 13 anni fa
parent
commit
ffbedba2da
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
     }
 }