Update index_data.php

This commit is contained in:
Roman Kelesidis 2024-12-18 21:14:12 +07:00
parent e9387b2804
commit b01e66616a

View File

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