mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix php notice (merged from 2.1.0 branch, r42205)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42933 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
997f3d09d0
commit
e5060b6d30
@ -431,6 +431,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…
Reference in New Issue
Block a user