mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Added missing slash in TableListField_Item->Link()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63945 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
866853f31a
commit
d794b11910
@ -1256,7 +1256,7 @@ class TableListField_Item extends ViewableData {
|
||||
|
||||
function Link() {
|
||||
if($this->parent->getForm()) {
|
||||
return Controller::join_links($this->parent->Link() . "item/" . $this->item->ID);
|
||||
return Controller::join_links($this->parent->Link() . '/item/' . $this->item->ID);
|
||||
} else {
|
||||
// allow for instanciation of this FormField outside of a controller/form
|
||||
// context (e.g. for unit tests)
|
||||
|
Loading…
Reference in New Issue
Block a user