Fix setFlash method sf2.3