fix parameter of lng() in UpdateCommand

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2025-05-26 10:18:42 +02:00
parent f8c8f1c333
commit 8f3228716a

View File

@@ -83,7 +83,7 @@ final class UpdateCommand extends CliCommand
}
return $result;
}
$output->writeln('<info>' . lng('update.noupdatesavail', (Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') . ' ' : '')) . '</>');
$output->writeln('<info>' . lng('update.noupdatesavail', [(Settings::Get('system.update_channel') == 'testing' ? lng('serversettings.uc_testing') . ' ' : '')]) . '</>');
}
return $result;
}