diff --git a/code/model/RelatedPageLink.php b/code/model/RelatedPageLink.php index cc0f20a..27e90b2 100644 --- a/code/model/RelatedPageLink.php +++ b/code/model/RelatedPageLink.php @@ -65,7 +65,7 @@ class RelatedPageLink extends DataObject { // Use cmsEditlink only when moving between different pages in the same subsite. $classClause = ($page->SubsiteID == $otherPage->SubsiteID) ? ' class="cmsEditlink"' : ''; - return '" . Convert::raw2xml($page->Title) . ''; + return '" . Convert::raw2xml($page->Title) . ''; } function AbsoluteLink($master = false) { diff --git a/tests/SiteTreeSubsitesTest.php b/tests/SiteTreeSubsitesTest.php index db44e23..a78177c 100644 --- a/tests/SiteTreeSubsitesTest.php +++ b/tests/SiteTreeSubsitesTest.php @@ -80,7 +80,7 @@ class SiteTreeSubsitesTest extends SapphireTest { $this->assertEquals($importantpage->canEdit(), $link->canEdit()); $this->assertEquals($importantpage->canDelete(), $link->canDelete()); $link->AbsoluteLink(true); - $this->assertEquals($link->RelatedPageAdminLink(), 'Contact Us'); + $this->assertEquals($link->RelatedPageAdminLink(), 'Contact Us'); } function testCanEditSiteTree() { @@ -216,4 +216,4 @@ class SiteTreeSubsitesTest extends SapphireTest { class SiteTreeSubsitesTest_ClassA extends SiteTree implements TestOnly {} -class SiteTreeSubsitesTest_ClassB extends SiteTree implements TestOnly {} \ No newline at end of file +class SiteTreeSubsitesTest_ClassB extends SiteTree implements TestOnly {}