aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-05-22 02:58:11 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-05-22 02:58:11 +0000
commit4bf900ebae61d3b991b0a64d6d5492e3c8b1c43d (patch)
tree7412652b2afb0318dabc0209ff8bba9619e02ebe
parent84925d852d34ac9c6fcc2c3c5e749b8bd70bc22d (diff)
downloadforums-4bf900ebae61d3b991b0a64d6d5492e3c8b1c43d.tar
forums-4bf900ebae61d3b991b0a64d6d5492e3c8b1c43d.tar.gz
forums-4bf900ebae61d3b991b0a64d6d5492e3c8b1c43d.tar.bz2
forums-4bf900ebae61d3b991b0a64d6d5492e3c8b1c43d.tar.xz
forums-4bf900ebae61d3b991b0a64d6d5492e3c8b1c43d.zip
Took out some debugging code
git-svn-id: file:///svn/phpbb/trunk@318 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/viewtopic.php4
1 files 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
+?>