mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Fixed a bool offset in login.php
This commit is contained in:
parent
7de537a1d3
commit
82e2e6336a
@ -211,7 +211,7 @@ if (empty($_POST) === false) {
|
|||||||
setSession('user_id', $login);
|
setSession('user_id', $login);
|
||||||
|
|
||||||
// if IP is not set (etc acc created before Znote AAC was in use)
|
// if IP is not set (etc acc created before Znote AAC was in use)
|
||||||
$znote_data = user_znote_account_data($login);
|
$znote_data = user_znote_account_data($login, 'ip');
|
||||||
if ($znote_data['ip'] == 0) {
|
if ($znote_data['ip'] == 0) {
|
||||||
$update_data = array(
|
$update_data = array(
|
||||||
'ip' => getIPLong(),
|
'ip' => getIPLong(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user