FriendsOfSymfony/FOSMessageBundle — pull request #81 by vslinko (2012-11-10 15:00:37+00:00)
Title: Replace zero by false in dql queries

Reason:

```
An exception occurred while executing 'SELECT COUNT(m0_.id) AS sclr0 FROM Message m1_ INNER JOIN message_message_metadata m0_ ON m1_.id = m0_.message_id INNER JOIN users u2_ ON m0_.participant_id = u2_.id WHERE u2_.id = ? AND m0_.is_read = 0' with params {"1":2}:

SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: boolean = integer
LINE 1: ...articipant_id = u2_.id WHERE u2_.id = $1 AND m0_.is_read = 0
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
```