BUG Fix serialised stateid exceeding request length

This commit is contained in:
Damian Mooyman 2015-03-05 15:00:38 +13:00
parent 2c752adf5c
commit 87adc44469

View File

@ -840,7 +840,7 @@ class GridField_FormAction extends FormAction {
'args' => $this->args, 'args' => $this->args,
); );
$id = md5(serialize($state)); $id = substr(md5(serialize($state)), 0, 8);
Session::set($id, $state); Session::set($id, $state);
$actionData['StateID'] = $id; $actionData['StateID'] = $id;