fixed link back from discussion page if coming from root page
This commit is contained in:
parent
be99da6ed0
commit
5afd56eb17
1 changed files with 1 additions and 1 deletions
|
|
@ -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>";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue