Merge pull request #191 from wernerkrauss/patch-1

Wrong edit link in SubsitesVirtualPage
This commit is contained in:
Daniel Hensby 2015-07-22 13:39:44 +01:00
commit ce3f8c9060
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class SubsitesVirtualPage extends VirtualPage {
// Create links back to the original object in the CMS
if($this->CopyContentFromID) {
$editLink = "admin/page/edit/show/$this->CopyContentFromID/?SubsiteID=" . $this->CopyContentFrom()->SubsiteID;
$editLink = "admin/pages/edit/show/$this->CopyContentFromID/?SubsiteID=" . $this->CopyContentFrom()->SubsiteID;
$linkToContent = "
<a class=\"cmsEditlink\" href=\"$editLink\">" .
_t('VirtualPage.EDITCONTENT', 'Click here to edit the content') .