mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r197
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@197 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
916a40fbe6
commit
5c4aef08ea
1 changed files with 2 additions and 0 deletions
|
@ -757,6 +757,8 @@ if ($submit && !$errors)
|
|||
}
|
||||
$db_data['user_regdate'] = TIMENOW;
|
||||
|
||||
if(!IS_ADMIN) $db_data['user_reg_ip'] = USER_IP;
|
||||
|
||||
$sql_args = DB()->build_array('INSERT', $db_data);
|
||||
|
||||
DB()->query("INSERT INTO ". BB_USERS . $sql_args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue