Remove undefined variable, should use the baseTable() from the $parentClass

This commit is contained in:
Robbie Averill 2018-11-15 13:30:33 +02:00
parent b138eb06ff
commit 03869b1627

View File

@ -1744,7 +1744,6 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
$joinClause = sprintf(
"\"%s\".\"ParentID\"=\"%s\".\"ID\"",
$siteTreelinkTable,
$linkTable,
DataObject::singleton($parentClass)->baseTable()
);