From: 1 Man Projects Date: Tue, 5 Dec 2023 19:24:35 +0000 (+0100) Subject: Fix AppSettingsController.php overwriting currentLanguage X-Git-Tag: v29.0.0beta1~702^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F42044%2Fhead;p=nextcloud-server.git Fix AppSettingsController.php overwriting currentLanguage Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View Signed-off-by: 1 Man Projects --- 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[] = [