Permalink
Browse files

Fix php notice

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42203 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent a5878ad commit d71d3c2253eb62231fc4ab299c7cb27a054865c1 @ajoneil ajoneil committed with sminnee Sep 17, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 code/CMSMain.php
View
@@ -407,6 +407,7 @@ public function deletefromlive($urlParams, $form) {
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) {

0 comments on commit d71d3c2

Please sign in to comment.