Merge pull request #207 from sparksp/fix/session-flush
Fix: Session flush now correctly prepares empty data.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
## Version 2.0.5
|
||||
|
||||
- Fix: Remove orderings before running pagination queries.
|
||||
- Fix: Session flush now correctly prepares empty data.
|
||||
|
||||
### Upgrading from 2.0.4
|
||||
|
||||
|
||||
@@ -229,7 +229,10 @@ class Payload {
|
||||
*/
|
||||
public function flush()
|
||||
{
|
||||
$this->session['data'] = array();
|
||||
$this->session['data'] = array(
|
||||
':new:' => array(),
|
||||
':old:' => array(),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user