fix(submitted-form): Pass member to parent calls

This commit is contained in:
Marco (Valandur) 2019-09-06 15:37:13 +02:00
parent 696fa1d05e
commit 0348e5dd15

View File

@ -132,10 +132,10 @@ class SubmittedForm extends DataObject
} }
if ($this->Parent()) { if ($this->Parent()) {
return $this->Parent()->canCreate(); return $this->Parent()->canCreate($member);
} }
return parent::canCreate(); return parent::canCreate($member);
} }
/** /**