Merge pull request #2562 from kinglozzer/2561-virtualpage-savetreenode

FIX: Incorrect method call in savetreenode (fixes #2561)
This commit is contained in:
Andre Kiste 2020-11-19 10:12:28 +13:00 committed by GitHub
commit e67012d571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -818,7 +818,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
$virtualPages = VirtualPage::get()->filter("CopyContentFromID", $node->ID); $virtualPages = VirtualPage::get()->filter("CopyContentFromID", $node->ID);
foreach ($virtualPages as $virtualPage) { foreach ($virtualPages as $virtualPage) {
$statusUpdates['modified'][$virtualPage->ID] = array( $statusUpdates['modified'][$virtualPage->ID] = array(
'TreeTitle' => $virtualPage->TreeTitle() 'TreeTitle' => $virtualPage->TreeTitle
); );
} }