Domain Settings: Updates for PHP 8.1

This commit is contained in:
fusionate
2023-06-06 21:44:42 +00:00
parent c7e567b2d2
commit 4783d2dbcc
3 changed files with 28 additions and 4 deletions
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2019
Portions created by the Initial Developer are Copyright (C) 2019-2023
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -55,7 +55,7 @@ if (!class_exists('domain_settings')) {
$this->app_name = 'domain_settings';
$this->app_uuid = 'b31e723a-bf70-670c-a49b-470d2a232f71';
$this->permission_prefix = 'domain_setting_';
$this->list_page = PROJECT_PATH."/core/domains/domain_edit.php?id=".urlencode($this->domain_uuid);
$this->list_page = PROJECT_PATH."/core/domains/domain_edit.php?id=".urlencode($this->domain_uuid ?? '');
$this->table = 'domain_settings';
$this->uuid_prefix = 'domain_setting_';
$this->toggle_field = 'domain_setting_enabled';