From f96f1d8dadf8c97360892555a806ff52e3b0b40c Mon Sep 17 00:00:00 2001
From: "Paul S. Owen" <psotfx@users.sourceforge.net>
Date: Mon, 11 Feb 2002 13:00:08 +0000
Subject: No idea if this is as desired but 'topic link' now points to the
 current page

git-svn-id: file:///svn/phpbb/trunk@2086 89ea8834-ac86-4346-8a33-228a782c2dd0
---
 phpBB/viewtopic.php | 1 +
 1 file changed, 1 insertion(+)

(limited to 'phpBB/viewtopic.php')

diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 3a8e56bef0..684dd01bd4 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -654,6 +654,7 @@ $template->assign_vars(array(
 	"S_TOPIC_ADMIN" => $topic_mod,
 	"S_WATCH_TOPIC" => $s_watching_topic,
 
+	"U_VIEW_TOPIC" => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;start=$start&amp;postdays=$post_days&amp;postorder=$post_order&amp;highlight=" . $HTTP_GET_VARS['highlight']), 
 	"U_VIEW_FORUM" => $view_forum_url,
 	"U_VIEW_OLDER_TOPIC" => $view_prev_topic_url,
 	"U_VIEW_NEWER_TOPIC" => $view_next_topic_url,
-- 
cgit v1.2.1