From 0bb1c8b13a16a77c180a35eda2d31e2fb1bd6fd6 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 22 Jul 2002 13:12:23 +0000 Subject: [PATCH] Clear topic_mod ... Lars Janssen git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2731 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 07f6e985ea..adfdcb3d4e 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -555,11 +555,13 @@ $s_auth_can .= ( ( $is_auth['auth_edit'] ) ? $lang['Rules_edit_can'] : $lang['Ru $s_auth_can .= ( ( $is_auth['auth_delete'] ) ? $lang['Rules_delete_can'] : $lang['Rules_delete_cannot'] ) . '
'; $s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '
'; +$topic_mod = ''; + if ( $is_auth['auth_mod'] ) { $s_auth_can .= sprintf($lang['Rules_moderate'], '', ''); - $topic_mod = '' . $lang['Delete_topic'] . ' '; + $topic_mod .= '' . $lang['Delete_topic'] . ' '; $topic_mod .= '' . $lang['Move_topic'] . ' ';