Skip to content

Commit

Permalink
[HttpFoundation] AutExpireFlashBag should not clear new flashes
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrouche Hamza committed Nov 28, 2017
1 parent e3e239f commit 7fe3fe8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function get($type, array $default = array())
public function all()
{
$return = $this->flashes['display'];
$this->flashes = array('new' => array(), 'display' => array());
$this->flashes['display'] = array();

return $return;
}
Expand Down

0 comments on commit 7fe3fe8

Please sign in to comment.