From 7fdb8e15235bb25c00c0a55a8da20dd655d597fe Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 23 Oct 2018 22:38:35 -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 563a57e67d..be2fd145b5 100644 --- a/resources/pdo.php +++ b/resources/pdo.php @@ -255,7 +255,7 @@ if ($db_type == "pgsql") { } //end if db_type pgsql //get the domain list - if (!is_array($_SESSION['domains']) or (!isset($_SESSION["domain_uuid"])) or (strlen($_SESSION["domain_uuid"]) == 0)) { + if (!is_array($_SESSION['domains']) or !isset($_SESSION["domain_uuid"])) { //get the domain $domain_array = explode(":", $_SERVER["HTTP_HOST"]);