Session flush now correctly prepares empty data.

This commit is contained in:
Phill Sparks 2011-12-09 19:01:17 +00:00
parent a2aa741814
commit 1f17629baa
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,7 @@ # Laravel Change Log
## Version 2.0.5
- Fix: Remove orderings before running pagination queries.
- Fix: Session flush now correctly prepares empty data.
### Upgrading from 2.0.4

View File

@ -229,7 +229,10 @@ public function forget($key)
*/
public function flush()
{
$this->session['data'] = array();
$this->session['data'] = array(
':new:' => array(),
':old:' => array(),
);
}
/**