mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update upgrade_menu.php
Prevent a warning on the upgrade menu
This commit is contained in:
@@ -99,7 +99,7 @@ function show_upgrade_menu() {
|
||||
echo "Options:\n";
|
||||
foreach ($options as list($key, $label, $description)) {
|
||||
if (!is_numeric($key)) { echo " "; }
|
||||
echo " $key) $label" . (($option == 'h') ? " - " . $description : "") . "\n";
|
||||
echo " $key) $label" . ((!empty($option) && $option == 'h') ? " - " . $description : "") . "\n";
|
||||
}
|
||||
echo "\n";
|
||||
echo " a) All\n";
|
||||
|
||||
Reference in New Issue
Block a user