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";