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>
This commit is contained in:
1 Man Projects 2023-12-05 20:24:35 +01:00 committed by backportbot-nextcloud[bot]
parent b10f72fccc
commit 7c40700491

View file

@ -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[] = [