From 6ef59580073d2056e18803008dbb58fad0ca981e Mon Sep 17 00:00:00 2001 From: 1 Man Projects Date: Tue, 5 Dec 2023 20:24:35 +0100 Subject: [PATCH] Fix AppSettingsController.php overwriting currentLanguage Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View Signed-off-by: 1 Man Projects --- apps/settings/lib/Controller/AppSettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index df98a4578c5..77bebbd1bec 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -368,7 +368,7 @@ class AppSettingsController extends Controller { if ($this->appManager->isInstalled($app['id'])) { $currentVersion = $this->appManager->getAppVersion($app['id']); } else { - $currentLanguage = $app['releases'][0]['version']; + $currentVersion = $app['releases'][0]['version']; } $formattedApps[] = [ -- 2.39.5