[HttpFoundation] AutExpireFlashBag should not clear new flashes
This commit is contained in:
parent
e3e239ffb4
commit
7fe3fe8245
|
@ -106,7 +106,7 @@ class AutoExpireFlashBag implements FlashBagInterface
|
|||
public function all()
|
||||
{
|
||||
$return = $this->flashes['display'];
|
||||
$this->flashes = array('new' => array(), 'display' => array());
|
||||
$this->flashes['display'] = array();
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
|
Reference in New Issue