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.
This commit is contained in:
FusionPBX
2023-02-09 16:11:41 -07:00
committed by GitHub
parent d35c7577bf
commit 9026f3b505

View File

@@ -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)) {