Commit afddaec1 authored by Zigterman's avatar Zigterman

The validate function expects the $field_labels. This one is now private, but...

The validate function expects the $field_labels. This one is now private, but the parent is null so it’s declared here
parent 6810b39d
......@@ -52,6 +52,8 @@ class Newsletter extends DataObject implements CMSPreviewable{
'MailingLists'
);
private static $field_labels = array();
public function fieldLabels($includelrelations = true) {
$labels = parent::fieldLabels($includelrelations);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment