FIX Backlink computed correctly

This commit is contained in:
Daniel Hensby 2016-05-05 16:18:02 +01:00
parent 04a2be00ea
commit 6e62d65ca3
No known key found for this signature in database
GPG Key ID: E38EC566FE29EB66

View File

@ -175,7 +175,7 @@ class DMSDocumentAddController extends LeftAndMain
public function Backlink()
{
$pageID = $this->currentPageID();
return singleton('CMSPagesController')->Link().'edit/show/'.$pageID;
return Controller::join_links(singleton('CMSPagesController')->Link(), 'edit/show', $pageID);
}
public function documentautocomplete()