BUG Fix gridfield storing duplicate data in session

This commit is contained in:
Damian Mooyman 2014-12-09 10:38:21 +13:00
parent b2ace2b76c
commit 6bdd30c19d

View File

@ -840,7 +840,7 @@ class GridField_FormAction extends FormAction {
'args' => $this->args,
);
$id = preg_replace('/[^\w]+/', '_', uniqid('', true));
$id = md5(serialize($state));
Session::set($id, $state);
$actionData['StateID'] = $id;