From d794b119104380802f2040226825d8c01858892a Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 9 Oct 2008 02:20:35 +0000 Subject: [PATCH] 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 --- forms/TableListField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TableListField.php b/forms/TableListField.php index 8980d9d96..568ace86f 100755 --- a/forms/TableListField.php +++ b/forms/TableListField.php @@ -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)