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
+1 -1
View File
@@ -71,7 +71,7 @@
$var_value = trim($_POST["var_value"]);
$var_command = trim($_POST["var_command"]);
$var_hostname = trim($_POST["var_hostname"]);
$var_enabled = trim($_POST["var_enabled"] ?: 'false');
$var_enabled = trim($_POST["var_enabled"] ?? 'false');
$var_order = trim($_POST["var_order"]);
$var_description = trim($_POST["var_description"]);