diff --git a/email/Email.php b/email/Email.php index 47e3629eb..fed42ce80 100755 --- a/email/Email.php +++ b/email/Email.php @@ -745,6 +745,15 @@ class Email_BounceRecord extends DataObject { static $many_many = array(); static $defaults = array(); + + /** + * a record of Email_BounceRecord can't be created manually. Instead, it should be + * created though system. + */ + + public function canCreate($member = null) { + return false; + } } /** diff --git a/forms/TableListField.php b/forms/TableListField.php index 06f737c0e..e1f9fe4db 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -946,6 +946,7 @@ JS if($fieldItems) { foreach($fieldItems as $fieldItem) { $fields = $fieldItem->Fields(); + $columnData = array(); if($fields) foreach($fields as $field) { $value = $field->Value;