From 8a2576ee3eac8be2cbf5fb1e4af8a8fe54ce774b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 02:51:48 +0000 Subject: [PATCH] BUGFIX: rollback r105858 which introducesa bug (from r105875) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112505 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TableListField.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/forms/TableListField.php b/forms/TableListField.php index b61ef8821..d8dcb6d3b 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -1478,8 +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'){