mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
Removing notice-level errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40909 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b747f9c42e
commit
281009b00f
@ -187,7 +187,7 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
$actions->push(new FormAction('delete', 'Delete','ajaxAction-delete'));
|
||||
}
|
||||
|
||||
$required = (method_exists($genericData, getCMSRequiredField)) ? $genericData->getCMSRequiredField() : new RequiredFields();
|
||||
$required = (method_exists($genericData, 'getCMSRequiredField')) ? $genericData->getCMSRequiredField() : new RequiredFields();
|
||||
$form = new Form($this, "EditForm", $fields, $actions, $required);
|
||||
if($this->stat('data_type_extra')) {
|
||||
foreach ($this->stat('data_type_extra') as $oneRelated) {
|
||||
|
@ -200,6 +200,8 @@ class UserDefinedForm_Controller extends Page_Controller {
|
||||
$values = array();
|
||||
$recipientAddresses = array();
|
||||
$sendCopy = false;
|
||||
|
||||
$attachments = array();
|
||||
|
||||
$submittedFields = new DataObjectSet();
|
||||
foreach( $this->Fields() as $field ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user