mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2562 from kinglozzer/2561-virtualpage-savetreenode
FIX: Incorrect method call in savetreenode (fixes #2561)
This commit is contained in:
commit
e67012d571
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user