mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Fix php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42203 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a5878ad2c9
commit
d71d3c2253
@ -407,6 +407,7 @@ JS;
|
||||
Versioned::reading_stage('Live');
|
||||
$record = DataObject::get_by_id("SiteTree", $id);
|
||||
$descRemoved = '';
|
||||
$descendantsRemoved = 0;
|
||||
|
||||
// before deleting the records, get the descendants of this tree
|
||||
if($record) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user