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>
pull/42044/head
1 Man Projects 2 years ago committed by GitHub
parent b0976e4568
commit 6ef5958007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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[] = [

Loading…
Cancel
Save