mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
And check for permissions...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9692 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
18c5c8e8ec
commit
957d1d43dc
@ -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);
|
||||
$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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user