diff --git a/code/model/submissions/SubmittedForm.php b/code/model/submissions/SubmittedForm.php index 24a9ae6..39f5cd2 100755 --- a/code/model/submissions/SubmittedForm.php +++ b/code/model/submissions/SubmittedForm.php @@ -70,6 +70,15 @@ class SubmittedForm extends DataObject { return $fields; } + /** + * @param Member + * + * @return boolean + */ + public function canCreate($member = null) { + return $this->Parent()->canCreate(); + } + /** * @param Member * diff --git a/code/model/submissions/SubmittedFormField.php b/code/model/submissions/SubmittedFormField.php index 86568cf..2808bae 100755 --- a/code/model/submissions/SubmittedFormField.php +++ b/code/model/submissions/SubmittedFormField.php @@ -22,6 +22,15 @@ class SubmittedFormField extends DataObject { 'FormattedValue' => 'Value' ); + /** + * @param Member + * + * @return boolean + */ + public function canCreate($member = null) { + return $this->Parent()->canCreate(); + } + /** * @param Member *