1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

oh, it is already in here

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9691 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2009-06-26 15:25:56 +00:00
parent e2f01e86d0
commit 18c5c8e8ec

View File

@ -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');