include software_name in the global declaration (#6957)

This commit is contained in:
frytimo
2024-04-23 13:23:04 -03:00
committed by GitHub
parent 41eb7ac8d3
commit c85e10ea09

View File

@@ -58,7 +58,7 @@ $display_type = 'text';
show_upgrade_menu();
function show_upgrade_menu() {
global $text;
global $text, $software_name;
//error_reporting(E_ALL);
$line = str_repeat('-', strlen($text['title-cli_upgrade']) + 2);
while (true) {