Minor PHPStand warning fix in 'update.php'.
This commit is contained in:
parent
763515de79
commit
734be4ebd1
|
@ -97,7 +97,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach (PluginHost::getInstance()->get_commands() as $command => $data) {
|
foreach (PluginHost::getInstance()->get_commands() as $command => $data) {
|
||||||
$options_map[$command . $data["suffix"]] = [ $data["arghelp"] ?? "", $data["description"] ];
|
$options_map[$command . $data["suffix"]] = [ $data["arghelp"], $data["description"] ];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (php_sapi_name() != "cli") {
|
if (php_sapi_name() != "cli") {
|
||||||
|
|
Loading…
Reference in New Issue