Fix flashes call

Symfony2.3 is on its way!