mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02: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'));
|
$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);
|
$form = new Form($this, "EditForm", $fields, $actions, $required);
|
||||||
if($this->stat('data_type_extra')) {
|
if($this->stat('data_type_extra')) {
|
||||||
foreach ($this->stat('data_type_extra') as $oneRelated) {
|
foreach ($this->stat('data_type_extra') as $oneRelated) {
|
||||||
|
@ -201,6 +201,8 @@ class UserDefinedForm_Controller extends Page_Controller {
|
|||||||
$recipientAddresses = array();
|
$recipientAddresses = array();
|
||||||
$sendCopy = false;
|
$sendCopy = false;
|
||||||
|
|
||||||
|
$attachments = array();
|
||||||
|
|
||||||
$submittedFields = new DataObjectSet();
|
$submittedFields = new DataObjectSet();
|
||||||
foreach( $this->Fields() as $field ) {
|
foreach( $this->Fields() as $field ) {
|
||||||
$submittedField = new SubmittedFormField();
|
$submittedField = new SubmittedFormField();
|
||||||
|
Loading…
Reference in New Issue
Block a user