mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 05:09:06 +02:00
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
This commit is contained in:
parent
8a2576ee3e
commit
ca02b91673
@ -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'){
|
||||
|
Loading…
Reference in New Issue
Block a user