Update pdo.php

With these lines commented out per domain settings don't work when logged out.
This commit is contained in:
FusionPBX 2020-10-22 03:51:19 -06:00 committed by GitHub
parent 95c8fc9c7a
commit 6a728e2563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -306,7 +306,6 @@ if ($db_type == "pgsql") {
if (is_array($domains)) {
foreach($domains as $row) {
/*
if (count($domains) == 1) {
$_SESSION["domain_uuid"] = $row["domain_uuid"];
$_SESSION["domain_name"] = $row['domain_name'];
@ -317,7 +316,6 @@ if ($db_type == "pgsql") {
$_SESSION["domain_name"] = $row["domain_name"];
}
}
*/
$_SESSION['domains'][$row['domain_uuid']] = $row;
}
unset($domains, $prep_statement);