BUGFIX: rollback r105858 which introducesa bug

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@105875 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2010-05-28 03:29:43 +00:00 committed by Sam Minnee
parent 31a7bbc6a3
commit 0d2c22a6b3

View File

@ -1478,8 +1478,7 @@ class TableListField_Item extends ViewableData {
*/ */
function SelectOptionClasses(){ function SelectOptionClasses(){
$tagArray = array('markingcheckbox'); $tagArray = array('markingcheckbox');
$options = $this->parent->selectOptions;
$options = $this->parent->SelectOptions();
if($options && $options->exists()){ if($options && $options->exists()){
foreach($options as $option){ foreach($options as $option){
if($option->Key !== 'all' && $option->Key !== 'none'){ if($option->Key !== 'all' && $option->Key !== 'none'){