mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Merge pull request #82 from dhensby/pulls/1.1/join-link-fix
FIX Backlink computed correctly
This commit is contained in:
commit
029d9a1622
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user