aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/viewtopic.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 94fdf821c3..90e033dab7 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1606,7 +1606,7 @@ else if (!$all_marked_read)
// let's set up quick_reply
// TODO: introduce a per-forum and a per-user setting
-$s_quick_reply = $user->data['is_registered'] && $config['allow_quick_reply'] && ($topic_data['forum_flags'] & FORUM_FLAG_QUICK_REPLY) && $auth->acl_get('f_reply', $forum_id) ;
+$s_quick_reply = $user->data['is_registered'] && $config['allow_quick_reply'] && ($topic_data['forum_flags'] & FORUM_FLAG_QUICK_REPLY) && $auth->acl_get('f_reply', $forum_id) ;
if ($s_can_vote || $s_quick_reply )
{
add_form_key('posting');
@@ -1638,6 +1638,7 @@ if ($s_can_vote || $s_quick_reply )
));
}
}
+// now I have the urge to wash my hands :(
// We overwrite $_REQUEST['f'] if there is no forum specified