mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
ENH Don't use keyword "self" (#410)
This commit is contained in:
parent
ea870eb30f
commit
6c6f43ca84
@ -447,7 +447,7 @@ class GridFieldNestedForm extends AbstractGridFieldComponent implements
|
|||||||
|
|
||||||
public function handleSave(GridField $gridField, DataObjectInterface $record)
|
public function handleSave(GridField $gridField, DataObjectInterface $record)
|
||||||
{
|
{
|
||||||
$postKey = self::POST_KEY;
|
$postKey = GridFieldNestedForm::POST_KEY;
|
||||||
$value = $gridField->Value();
|
$value = $gridField->Value();
|
||||||
if (isset($value['GridState']) && $value['GridState']) {
|
if (isset($value['GridState']) && $value['GridState']) {
|
||||||
// set grid state from value, to store open/closed toggle state for nested forms
|
// set grid state from value, to store open/closed toggle state for nested forms
|
||||||
|
Loading…
Reference in New Issue
Block a user