Fix flashes call

Symfony2.3 is on its way!
Merge pull request #64 from winzou/patch-1

Fix flashes call