Commit 791dbdeb authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #207 from sparksp/fix/session-flush

Fix: Session flush now correctly prepares empty data.
parents a2aa7418 1f17629b
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
## Version 2.0.5 ## Version 2.0.5
- Fix: Remove orderings before running pagination queries. - Fix: Remove orderings before running pagination queries.
- Fix: Session flush now correctly prepares empty data.
### Upgrading from 2.0.4 ### Upgrading from 2.0.4
...@@ -138,4 +139,4 @@ ...@@ -138,4 +139,4 @@
- Replace the **system** directory. - Replace the **system** directory.
- Replace the **application/config/aliases.php** file. - Replace the **application/config/aliases.php** file.
- Take note of encryption class changes. - Take note of encryption class changes.
\ No newline at end of file
...@@ -229,7 +229,10 @@ class Payload { ...@@ -229,7 +229,10 @@ class Payload {
*/ */
public function flush() public function flush()
{ {
$this->session['data'] = array(); $this->session['data'] = array(
':new:' => array(),
':old:' => array(),
);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment