From 5c34c991cfe343df63932274f7e9d7b8eac66922 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 12 May 2023 18:34:54 -0600 Subject: [PATCH] Update pdo.php --- resources/pdo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/pdo.php b/resources/pdo.php index 5c20106f60..e018b14513 100644 --- a/resources/pdo.php +++ b/resources/pdo.php @@ -283,7 +283,7 @@ if ($db_type == "odbc") { } //end if db_type pgsql //get the domain list - if (!is_array($_SESSION['domains']) or !isset($_SESSION["domain_uuid"])) { + if (empty($_SESSION['domains']) or empty($_SESSION["domain_uuid"])) { //get the domain $domain_array = explode(":", $_SERVER["HTTP_HOST"] ?? '');