mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Tabbed out if
This commit is contained in:
parent
afecc6b20b
commit
5d5b5ed07c
@ -252,8 +252,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
|
||||
$defaultParent = $obj->defaultParent();
|
||||
if(SiteTree::get_by_link($defaultParent)) {
|
||||
$id = $defaultParent ? SiteTree::get_by_link($defaultParent)->ID : null;
|
||||
$defaultParent = $id ? SiteTree::get_by_link($obj->defaultParent())->ID : null;
|
||||
$id = $defaultParent ? SiteTree::get_by_link($defaultParent)->ID : null;
|
||||
$defaultParent = $id ? SiteTree::get_by_link($obj->defaultParent())->ID : null;
|
||||
}
|
||||
if ($defaultParent != 1 && $defaultParent != null) $def[$class]['defaultParent'] = $defaultParent;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user