From a85521fcb130a85d66c25bd8526a0f928b6e62a4 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Mon, 1 Mar 2010 22:13:35 +0000 Subject: [PATCH] ENHANCMENT improved reporting around broken links/files (from r88993) (from r96305) --- code/SiteTreeSubsites.php | 2 +- code/SubsitesVirtualPage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/SiteTreeSubsites.php b/code/SiteTreeSubsites.php index 249e1d4..5ebca0c 100644 --- a/code/SiteTreeSubsites.php +++ b/code/SiteTreeSubsites.php @@ -192,7 +192,7 @@ class SiteTreeSubsites extends SiteTreeDecorator { if($reverse) { $text = '

In addition, this page is marked as related by the following pages:

'; diff --git a/code/SubsitesVirtualPage.php b/code/SubsitesVirtualPage.php index b154076..38e2ca3 100644 --- a/code/SubsitesVirtualPage.php +++ b/code/SubsitesVirtualPage.php @@ -84,7 +84,7 @@ class SubsitesVirtualPage extends VirtualPage { if ($this->CopyContentFromID) $this->HasBrokenLink = DataObject::get_by_id('SiteTree', $this->CopyContentFromID) ? false : true; Subsite::$disable_subsite_filter = $oldState; } - + function onBeforeWrite() { parent::onBeforeWrite();