From 7c40700491d07ef6998b4868bfde7587f6f02ee1 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 df98a4578c5d9..77bebbd1becae 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -368,7 +368,7 @@ private function getAppsForCategory($requestedCategory = ''): array { if ($this->appManager->isInstalled($app['id'])) { $currentVersion = $this->appManager->getAppVersion($app['id']); } else { - $currentLanguage = $app['releases'][0]['version']; + $currentVersion = $app['releases'][0]['version']; } $formattedApps[] = [