mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update index_data.php
This commit is contained in:
parent
e9387b2804
commit
b01e66616a
@ -95,6 +95,11 @@ switch($mode)
|
||||
break;
|
||||
|
||||
case 'get_traf_stats':
|
||||
if (IS_GUEST)
|
||||
{
|
||||
$this->ajax_die($lang['NEED_TO_LOGIN_FIRST']);
|
||||
}
|
||||
|
||||
$user_id = (int) $this->request['user_id'];
|
||||
$btu = get_bt_userdata($user_id);
|
||||
$profiledata = get_userdata($user_id);
|
||||
|
Loading…
Reference in New Issue
Block a user