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"]);