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

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