mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
parent
64df3c5538
commit
21c8e7d48a
58 changed files with 226 additions and 228 deletions
|
@ -29,7 +29,7 @@ if (!defined('IN_AJAX')) {
|
|||
|
||||
global $bb_cfg, $lang;
|
||||
|
||||
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($lang['NO_USER_ID_SPECIFIED']);
|
||||
}
|
||||
if (!$field = (string)$this->request['field']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue