mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
parent
64df3c5538
commit
21c8e7d48a
58 changed files with 226 additions and 228 deletions
|
@ -30,9 +30,9 @@ if (!defined('IN_AJAX')) {
|
|||
global $datastore, $lang;
|
||||
|
||||
$ranks = $datastore->get('ranks');
|
||||
$rank_id = intval($this->request['rank_id']);
|
||||
$rank_id = (int)$this->request['rank_id'];
|
||||
|
||||
if (!$user_id = intval($this->request['user_id']) or !$profiledata = get_userdata($user_id)) {
|
||||
if (!$user_id = (int)$this->request['user_id'] or !$profiledata = get_userdata($user_id)) {
|
||||
$this->ajax_die("invalid user_id: $user_id");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue