mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Authentication - Database: Resolve PHP 8.1 warning when using API Key login.
This commit is contained in:
@@ -155,7 +155,7 @@ class plugin_database {
|
||||
$auth->get_domain();
|
||||
$this->domain_uuid = $_SESSION['domain_uuid'];
|
||||
$this->domain_name = $_SESSION['domain_name'];
|
||||
$this->username = $_SESSION['username'];
|
||||
$this->username = $_SESSION['username'] ?? null;
|
||||
|
||||
//debug information
|
||||
//echo "domain_uuid: ".$this->domain_uuid."<br />\n";
|
||||
|
||||
Reference in New Issue
Block a user