This commit is contained in:
Gabriel Pedro
2016-05-11 18:32:51 -04:00
parent 42195da9dc
commit 4e18cb3c66
8 changed files with 22 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ if (empty($_POST) === false) {
$znote_data = user_znote_account_data($login);
if ($znote_data['ip'] == 0) {
$update_data = array(
'ip' => ip2long(getIP()),
'ip' => getIPLong(),
);
user_update_znote_account($update_data);
}