mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
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
This commit is contained in:
@@ -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> ";
|
||||
|
||||
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> ";
|
||||
}
|
||||
|
Reference in New Issue
Block a user