User Settings [Class]: Updates for PHP 8.1

This commit is contained in:
fusionate 2023-05-17 04:44:19 +00:00
parent ea0c03c3ea
commit 1faddafbe1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ if (!class_exists('user_settings')) {
$this->app_name = 'user_settings';
$this->app_uuid = '3a3337f7-78d1-23e3-0cfd-f14499b8ed97';
$this->permission_prefix = 'user_setting_';
$this->list_page = PROJECT_PATH."/core/user/user_edit.php?id=".urlencode($this->user_uuid);
$this->list_page = PROJECT_PATH."/core/user/user_edit.php?id=".urlencode($this->user_uuid ?? '');
$this->table = 'user_settings';
$this->uuid_prefix = 'user_setting_';
$this->toggle_field = 'user_setting_enabled';