From cbac70612a1d5cbe38588007a909536f14912846 Mon Sep 17 00:00:00 2001 From: Hayden Smith Date: Thu, 28 May 2009 03:54:54 +0000 Subject: [PATCH] Fixed a phpsefault git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@78055 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TableListField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TableListField.php b/forms/TableListField.php index a7d48130e..1686bc6ec 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -1228,7 +1228,7 @@ class TableListField_Item extends ViewableData { // This supports simple FieldName syntax if(strpos($fieldName,'.') === false) { - $value = ($this->item->XML_val($fieldName)) ? $this->item->XML_val($fieldName) : $this->item->$fieldName; + $value = $this->item->$fieldName; // This support the syntax fieldName = Relation.RelatedField } else { $fieldNameParts = explode('.', $fieldName) ;