mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Added showing releaser stats in profile (#1568)
* Added showing releaser stats in profile * Update viewprofile.php * Update usercp_viewprofile.tpl * Update CHANGELOG.md * Update viewprofile.php
This commit is contained in:
parent
c215d8fb31
commit
7f746af5d5
5 changed files with 70 additions and 26 deletions
|
@ -75,9 +75,8 @@ if (bf($profiledata['user_opt'], 'user_opt', 'dis_sig')) {
|
|||
}
|
||||
|
||||
// Null ratio
|
||||
if ($bb_cfg['ratio_null_enabled']) {
|
||||
$btu = get_bt_userdata($profiledata['user_id']);
|
||||
$template->assign_vars(array('NULLED_RATIO' => (bool)$btu['ratio_nulled']));
|
||||
if ($bb_cfg['ratio_null_enabled'] && $btu = get_bt_userdata($profiledata['user_id'])) {
|
||||
$template->assign_vars(array('NULLED_RATIO' => $btu['ratio_nulled']));
|
||||
}
|
||||
|
||||
// Ban information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue