Merge pull request !62 from Coxxs/fix/replycredit
This commit is contained in:
commit
91d2d8320f
|
@ -262,6 +262,8 @@ if($_G['forum_thread']['replycredit'] > 0) {
|
|||
$_G['forum_thread']['replycredit_rule'] = C::t('forum_replycredit')->fetch($thread['tid']);
|
||||
$_G['forum_thread']['replycredit_rule']['remaining'] = $_G['forum_thread']['replycredit'] / $_G['forum_thread']['replycredit_rule']['extcredits'];
|
||||
$_G['forum_thread']['replycredit_rule']['extcreditstype'] = $_G['forum_thread']['replycredit_rule']['extcreditstype'] ? $_G['forum_thread']['replycredit_rule']['extcreditstype'] : $_G['setting']['creditstransextra'][10] ;
|
||||
} else {
|
||||
$_G['forum_thread']['replycredit_rule']['extcreditstype'] = $_G['setting']['creditstransextra'][10];
|
||||
}
|
||||
$_G['group']['raterange'] = $_G['setting']['modratelimit'] && $adminid == 3 && !$_G['forum']['ismoderator'] ? array() : $_G['group']['raterange'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue