mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
PDO: Fix PHP 8.x issue on explode function.
This commit is contained in:
@@ -286,7 +286,7 @@ if ($db_type == "odbc") {
|
||||
if (!is_array($_SESSION['domains']) or !isset($_SESSION["domain_uuid"])) {
|
||||
|
||||
//get the domain
|
||||
$domain_array = explode(":", $_SERVER["HTTP_HOST"]);
|
||||
$domain_array = explode(":", $_SERVER["HTTP_HOST"] ?? '');
|
||||
|
||||
//get the domains from the database
|
||||
$sql = "select * from v_domains";
|
||||
|
||||
Reference in New Issue
Block a user