Don't show null domain_uuid

This commit is contained in:
FusionPBX 2023-02-09 16:13:31 -07:00 committed by GitHub
parent 9026f3b505
commit f14d050979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@
$sql .= "where true ";
}
else {
$sql .= "where (domain_uuid = :domain_uuid) ";
$sql .= "where domain_uuid = :domain_uuid ";
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
}
if (isset($search)) {
@ -154,7 +154,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)) {