symfony/symfony — pull request #3082 by kriswallsmith (2012-01-10 17:26:30+00:00)
Title: [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: -
```