Upgrade - CLI (Manual & Menu): Mitigate PHP 8.x warnings, minor adjustments.

This commit is contained in:
fusionate
2024-05-13 14:19:34 -06:00
parent b369fad190
commit 2d3dca985d
10 changed files with 110 additions and 20 deletions

View File

@@ -74,7 +74,7 @@
if (!empty($_POST) && @sizeof($_POST) > 0) {
//get the action options: source, schema, app_defaults, menu_defaults, permisisons
$action = $_POST['action'];
$action = $_POST['action'] ?? null;
//run source update
if (!empty($action["upgrade_source"]) && permission_exists("upgrade_source") && !is_dir("/usr/share/examples/fusionpbx")) {