8000 [HttpFoundation] AutExpireFlashBag should not clear new flashes by Simperfit · Pull Request #25182 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpFoundation] AutExpireFlashBag should not clear new flashes #25182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[HttpFoundation] AutExpireFlashBag should not clear new flashes
  • Loading branch information
Amrouche Hamza committed Nov 28, 2017
commit 7fe3fe824547101a9c0d66a558ff1d4873dfe5f0
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