Session flush now correctly prepares empty data.
This commit is contained in:
@@ -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 @@
|
|||||||
|
|
||||||
- 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.
|
||||||
|
|||||||
@@ -229,7 +229,10 @@ class Payload {
|
|||||||
*/
|
*/
|
||||||
public function flush()
|
public function flush()
|
||||||
{
|
{
|
||||||
$this->session['data'] = array();
|
$this->session['data'] = array(
|
||||||
|
':new:' => array(),
|
||||||
|
':old:' => array(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user