From ca02b916731989c361433e06bbbbeeea3300ba5b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 02:52:05 +0000 Subject: [PATCH] BUGFIX: TableListField_Item::SelectOptionClasses() can not use it parent protected variable. (from r105876) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112506 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 d8dcb6d3b..6766c087e 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -1478,7 +1478,7 @@ class TableListField_Item extends ViewableData { */ function SelectOptionClasses(){ $tagArray = array('markingcheckbox'); - $options = $this->parent->selectOptions; + $options = $this->parent->SelectOptions(); if($options && $options->exists()){ foreach($options as $option){ if($option->Key !== 'all' && $option->Key !== 'none'){