aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-07-09 22:35:17 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-07-09 22:35:17 +0000
commitfe189c90de14068d29e994ffee5caf2e13e74fa3 (patch)
treee5cf79fd45876f5b0dbb4e9687c475ba9654734b /phpBB/viewtopic.php
parenta03286497495918fb735170fc3cba72ec8a236ef (diff)
downloadforums-fe189c90de14068d29e994ffee5caf2e13e74fa3.tar
forums-fe189c90de14068d29e994ffee5caf2e13e74fa3.tar.gz
forums-fe189c90de14068d29e994ffee5caf2e13e74fa3.tar.bz2
forums-fe189c90de14068d29e994ffee5caf2e13e74fa3.tar.xz
forums-fe189c90de14068d29e994ffee5caf2e13e74fa3.zip
Fixed bug in posting (forum_topics was incremented on replies, not just new topics)
One click lock/unlock/delete works for modcp. git-svn-id: file:///svn/phpbb/trunk@609 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index a59cf31268..816ba5e014 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -455,7 +455,7 @@ if($is_auth['auth_mod'] || $userdata['user_level'] == ADMIN)
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move"). "\"><img src=\"images/topic_move.gif\" alt = \"" . $lang['Move_topic'] . "\" border=\"0\"></a>&nbsp;&nbsp;";
- if($forum_row[0]['topic_status'] == UNLOCKED)
+ if($forum_row[0]['topic_status'] == TOPIC_UNLOCKED)
{
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock") . "\"><img src=\"images/topic_lock.gif\" alt = \"" . $lang['Lock_topic'] . "\" border=\"0\"></a>&nbsp;&nbsp;";
}