Misc: Updates for PHP 8.1 (?: to ??)

This commit is contained in:
fusionate
2023-06-06 22:05:05 +00:00
parent 35a52b46c3
commit d327d569f5
16 changed files with 27 additions and 27 deletions

View File

@@ -138,7 +138,7 @@
$contact_name_family = $_POST["contact_name_family"];
}
$group_uuid_name = $_POST["group_uuid_name"];
$user_enabled = $_POST["user_enabled"] ?: 'false';
$user_enabled = $_POST["user_enabled"] ?? 'false';
if (permission_exists('api_key')) {
$api_key = $_POST["api_key"];
}