diff options
author | 1 Man Projects <reed@1manprojects.de> | 2023-12-05 20:24:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 20:24:35 +0100 |
commit | 6ef59580073d2056e18803008dbb58fad0ca981e (patch) | |
tree | 6d64bdb440de8fabb79556b1c2b86ab501e8dfe9 | |
parent | b0976e4568890b6b6556a7d5f53a83dfda58e4d6 (diff) | |
download | nextcloud-server-6ef59580073d2056e18803008dbb58fad0ca981e.tar.gz nextcloud-server-6ef59580073d2056e18803008dbb58fad0ca981e.zip |
Fix AppSettingsController.php overwriting currentLanguage
Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View
Signed-off-by: 1 Man Projects <reed@1manprojects.de>
-rw-r--r-- | apps/settings/lib/Controller/AppSettingsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = [ |