mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Don't call addFieldToTab on a tab.
This commit is contained in:
parent
5b8f6edaec
commit
0c0d0d8695
@ -200,10 +200,7 @@ class AssetTableField extends ComplexTableField {
|
||||
}
|
||||
|
||||
if(!($childData instanceof Folder)) {
|
||||
$mainTab->addFieldToTab(
|
||||
'BottomRoot.Main',
|
||||
new CheckboxField("ShowInSearch", $childData->fieldLabel('ShowInSearch'))
|
||||
);
|
||||
$mainTab->push(new CheckboxField("ShowInSearch", $childData->fieldLabel('ShowInSearch')));
|
||||
}
|
||||
|
||||
if($childData && $childData->hasMethod('BackLinkTracking')) {
|
||||
|
Loading…
Reference in New Issue
Block a user