Commits ------- aa58330 [Form] fixed flawed condition Discussion ---------- [Form] fixed flawed condition The validate() method always returns an object. The test is whether there are violations in that object. ``` Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: - Todo: - ``` --------------------------------------------------------------------------- by fabpot at 2012-01-10T21:22:10Z What about removing the if condition altogether? --------------------------------------------------------------------------- by kriswallsmith at 2012-01-10T21:23:55Z This way we avoid creating an `ArrayIterator` for no reason.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|