BUG Normal users (non-ADMIN) can't create any email recipients

This commit is contained in:
Sean Harvey 2013-05-13 14:31:25 +12:00
parent a126fb1630
commit 3f223b691b

View File

@ -1113,6 +1113,15 @@ class UserDefinedForm_EmailRecipient extends DataObject {
return $fields;
}
/**
* @param Member
*
* @return boolean
*/
public function canCreate($member = null) {
return $this->Form()->canCreate();
}
/**
* @param Member
*