Update the condition for boolean
This commit is contained in:
parent
fc4f75f30c
commit
d309ffc1cf
|
|
@ -76,7 +76,7 @@ if (!class_exists('user_logs')) {
|
||||||
$array['user_logs'][0]["user_agent"] = $_SERVER['HTTP_USER_AGENT'];
|
$array['user_logs'][0]["user_agent"] = $_SERVER['HTTP_USER_AGENT'];
|
||||||
$array['user_logs'][0]["session_id"] = session_id();
|
$array['user_logs'][0]["session_id"] = session_id();
|
||||||
$array['user_logs'][0]["type"] = 'login';
|
$array['user_logs'][0]["type"] = 'login';
|
||||||
if ($result["authorized"] == "true") {
|
if ($result["authorized"]) {
|
||||||
$array['user_logs'][0]["result"] = 'success';
|
$array['user_logs'][0]["result"] = 'success';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue