mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1717)
* Minor improvements * Update callseed.php * Update CHANGELOG.md * Update index_data.php
This commit is contained in:
parent
1d51a2af84
commit
86e4b04333
4 changed files with 18 additions and 4 deletions
|
@ -118,6 +118,10 @@ switch ($mode) {
|
|||
break;
|
||||
|
||||
case 'releaser_stats':
|
||||
if (IS_GUEST) {
|
||||
$this->ajax_die($lang['NEED_TO_LOGIN_FIRST']);
|
||||
}
|
||||
|
||||
$user_id = (int)$this->request['user_id'];
|
||||
|
||||
$sql = "
|
||||
|
@ -150,6 +154,10 @@ switch ($mode) {
|
|||
$this->ajax_die($lang['MODULE_OFF']);
|
||||
}
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue