Merge pull request #3971 from tractorcow/pulls/3.1/fix-param-len

BUG Fix serialised stateid exceeding request length
This commit is contained in:
Ingo Schommer 2015-03-05 15:44:31 +13:00
commit ff562e126f

View File

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