From 5afd56eb17fa649cbaed27767949bcba8bc7509c Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Mon, 19 May 2014 00:23:56 +0100 Subject: [PATCH] fixed link back from discussion page if coming from root page --- tpl_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl_functions.php b/tpl_functions.php index 34299c3..2a11146 100644 --- a/tpl_functions.php +++ b/tpl_functions.php @@ -22,7 +22,7 @@ function _tpl_discussion($discussionPage, $title, $backTitle, $link=0, $wrapper= $discussPage = str_replace('@ID@', $ID, $discussionPage); $discussPageRaw = str_replace('@ID@', '', $discussionPage); $isDiscussPage = strpos($ID, $discussPageRaw) !== false; - $backID = str_replace($discussPageRaw, '', $ID); + $backID = ':'.str_replace($discussPageRaw, '', $ID); if ($wrapper) echo "<$wrapper>";