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 = '
';
+ $topic_mod .= '
';
$topic_mod .= '
';