From 57cfe3c66a5d67e88bbb1d4150329c6d4841f683 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Fri, 18 Mar 2016 11:03:26 +0000 Subject: [PATCH] FIX Bad joining of links in reports --- code/SideReport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/SideReport.php b/code/SideReport.php index 61832feb..80ae94d4 100644 --- a/code/SideReport.php +++ b/code/SideReport.php @@ -88,8 +88,8 @@ class SideReportView extends ViewableData { } if(isset($info['link']) && $info['link']) { - $linkBase = singleton('CMSPageEditController')->Link('show') . '/'; - $link = ($info['link'] === true) ? $linkBase . $record->ID : $info['link']; + $linkBase = singleton('CMSPageEditController')->Link('show'); + $link = ($info['link'] === true) ? Controller::join_links($linkBase, $record->ID) : $info['link']; return $prefix . "$val"; } else { return $prefix . "$val";