Update the condition for boolean

This commit is contained in:
FusionPBX 2024-10-10 17:22:59 -06:00 committed by GitHub
parent fc4f75f30c
commit d309ffc1cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ if (!class_exists('user_logs')) {
$array['user_logs'][0]["user_agent"] = $_SERVER['HTTP_USER_AGENT'];
$array['user_logs'][0]["session_id"] = session_id();
$array['user_logs'][0]["type"] = 'login';
if ($result["authorized"] == "true") {
if ($result["authorized"]) {
$array['user_logs'][0]["result"] = 'success';
}
else {