diff --git a/code/reports/BrokenLinksReport.php b/code/reports/BrokenLinksReport.php index 4ef1511c..b9e4265d 100644 --- a/code/reports/BrokenLinksReport.php +++ b/code/reports/BrokenLinksReport.php @@ -112,7 +112,7 @@ class BrokenLinksReport extends SS_Report { $stageLink = $item->AbsoluteLink(); return sprintf('%s %s', $stageLink, - $liveLink ? $liveLink : $stageLink . '?stage=Stage', + $liveLink ? $liveLink : Controller::join_links($stageLink, '?stage=Stage'), $liveLink ? '(live)' : '(draft)' ); }