From 9026f3b505ce273371ace9abbb16b9e698fd4352 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 9 Feb 2023 16:11:41 -0700 Subject: [PATCH] Don't show null domain_uuid Don't show user logs for login attempts that weren't assigned to a domain. Show null domain_uuid when using show all. --- core/user_logs/user_logs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/user_logs/user_logs.php b/core/user_logs/user_logs.php index 56a93a8224..8b38fb5e2a 100644 --- a/core/user_logs/user_logs.php +++ b/core/user_logs/user_logs.php @@ -102,7 +102,7 @@ $sql .= "where true "; } else { - $sql .= "where (domain_uuid = :domain_uuid or domain_uuid is null) "; + $sql .= "where (domain_uuid = :domain_uuid) "; $parameters['domain_uuid'] = $_SESSION['domain_uuid']; } if (isset($search)) {