fix lng() usage in RunApiCommand-class; fix title-tag content if newerversion=0 in update-check

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-26 13:29:26 +02:00
parent 282e6f4cd7
commit 66c3694809
4 changed files with 9 additions and 6 deletions

View File

@@ -33,6 +33,7 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Froxlor\Database\Database;
use Froxlor\Froxlor;
final class RunApiCommand extends CliCommand
{
@@ -53,6 +54,8 @@ final class RunApiCommand extends CliCommand
$result = $this->validateRequirements($input, $output);
require Froxlor::getInstallDir() . '/lib/functions.php';
if ($result == self::SUCCESS) {
try {
$loginname = $input->getArgument('user');