include software_name in the global declaration (#6957)
This commit is contained in:
parent
41eb7ac8d3
commit
c85e10ea09
|
|
@ -58,7 +58,7 @@ $display_type = 'text';
|
||||||
show_upgrade_menu();
|
show_upgrade_menu();
|
||||||
|
|
||||||
function show_upgrade_menu() {
|
function show_upgrade_menu() {
|
||||||
global $text;
|
global $text, $software_name;
|
||||||
//error_reporting(E_ALL);
|
//error_reporting(E_ALL);
|
||||||
$line = str_repeat('-', strlen($text['title-cli_upgrade']) + 2);
|
$line = str_repeat('-', strlen($text['title-cli_upgrade']) + 2);
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue