mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Remove undefined variable, should use the baseTable() from the $parentClass
This commit is contained in:
parent
b138eb06ff
commit
03869b1627
@ -1744,7 +1744,6 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
||||
$joinClause = sprintf(
|
||||
"\"%s\".\"ParentID\"=\"%s\".\"ID\"",
|
||||
$siteTreelinkTable,
|
||||
$linkTable,
|
||||
DataObject::singleton($parentClass)->baseTable()
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user