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
This commit is contained in:
Ingo Schommer 2010-10-15 02:51:48 +00:00
parent 91700a3dac
commit 8a2576ee3e

View File

@ -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'){