From 4bf900ebae61d3b991b0a64d6d5492e3c8b1c43d Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Tue, 22 May 2001 02:58:11 +0000 Subject: [PATCH] Took out some debugging code git-svn-id: file:///svn/phpbb/trunk@318 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 12cac73143..65699967ad 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -70,7 +70,7 @@ if(isset($HTTP_GET_VARS['view'])) if($sub_result = $db->sql_query($sub_query)) { $result = $db->sql_fetchrow($sub_result); - echo $sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, + $sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, f.forum_type, f.forum_name, f.forum_id, u.username, u.user_id FROM ".TOPICS_TABLE." t, ".TOPICS_TABLE." t2, ".FORUMS_TABLE." f, ".FORUM_MODS_TABLE." fm, ".USERS_TABLE." u WHERE t.topic_time ".$operator." ".$result['topic_time']." @@ -413,4 +413,4 @@ $template->pparse("body"); include('includes/page_tail.'.$phpEx); -?> \ No newline at end of file +?>