mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 12:05:56 +00: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()
|
public function Backlink()
|
||||||
{
|
{
|
||||||
$pageID = $this->currentPageID();
|
$pageID = $this->currentPageID();
|
||||||
return singleton('CMSPagesController')->Link().'edit/show/'.$pageID;
|
return Controller::join_links(singleton('CMSPagesController')->Link(), 'edit/show', $pageID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function documentautocomplete()
|
public function documentautocomplete()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user