diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2009-06-26 15:25:56 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2009-06-26 15:25:56 +0000 |
| commit | 18c5c8e8eca03e4d0e142f106168eecfde3b2450 (patch) | |
| tree | 276240898d1d282101c974aa6994ffac990687ce /phpBB | |
| parent | e2f01e86d08b91ceab02267ad135ddd33df7106c (diff) | |
| download | forums-18c5c8e8eca03e4d0e142f106168eecfde3b2450.tar forums-18c5c8e8eca03e4d0e142f106168eecfde3b2450.tar.gz forums-18c5c8e8eca03e4d0e142f106168eecfde3b2450.tar.bz2 forums-18c5c8e8eca03e4d0e142f106168eecfde3b2450.tar.xz forums-18c5c8e8eca03e4d0e142f106168eecfde3b2450.zip | |
oh, it is already in here
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9691 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/viewtopic.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 94f866a35c..70dc8b77bb 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1606,10 +1606,11 @@ else if (!$all_marked_read) // let's set up quick_reply // TODO: introduce a per-forum and a per-user setting -if ($s_can_vote || $config['allow_quick_reply']) +$s_quick_reply = $user->data['is_registered'] && $config['allow_quick_reply'] && ($topic_data['forum_flags'] & FORUM_FLAG_QUICK_REPLY); +if ($s_can_vote || $s_quick_reply ) { add_form_key('posting'); - if ($user->data['is_registered'] && $config['allow_quick_reply']) + if ($s_quick_reply) { $s_attach_sig = $config['allow_sig'] && strlen($user->data['user_sig']) && $user->optionget('attachsig') && $auth->acl_get('f_sigs', $forum_id) && $auth->acl_get('u_sig'); |
