diff --git a/forms/TableListField.php b/forms/TableListField.php index 3cc0a11eb..6766c087e 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -351,7 +351,7 @@ JS $headings[] = new ArrayData(array( "Name" => $fieldName, - "Title" => ($this->sourceClass) ? singleton($this->sourceClass)->fieldLabel($fieldName) : $fieldTitle, + "Title" => ($this->sourceClass) ? singleton($this->sourceClass)->fieldLabel($fieldTitle) : $fieldTitle, "IsSortable" => $isSortable, "SortLink" => $sortLink, "SortBy" => $isSorted,