Skip to content

Commit c91ca57

Browse files
author
Amrouche Hamza
committed
[HttpFoundation] AutExpireFlashBag should not clear new flashes
1 parent 332e85c commit c91ca57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Session/Flash/AutoExpireFlashBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function get($type, array $default = array())
106106
public function all()
107107
{
108108
$return = $this->flashes['display'];
109-
$this->flashes = array('new' => array(), 'display' => array());
109+
$this->flashes['display'] = array();
110110

111111
return $return;
112112
}

0 commit comments

Comments
 (0)