mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 02:11:30 +00:00
Minor PHPStand warning fix in 'update.php'.
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user