mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Fix gridfield storing duplicate data in session
This commit is contained in:
parent
b2ace2b76c
commit
6bdd30c19d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user