Session flush now correctly prepares empty data.

This commit is contained in:
Phill Sparks
2011-12-09 19:05:08 +00:00
parent a2aa741814
commit 1f17629baa
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -229,7 +229,10 @@ class Payload {
*/
public function flush()
{
$this->session['data'] = array();
$this->session['data'] = array(
':new:' => array(),
':old:' => array(),
);
}
/**