Skip to content

Commit

Permalink
Merge pull request #42044 from 1manprojects/patch-3
Browse files Browse the repository at this point in the history
Fix AppSettingsController.php overwriting currentLanguage
  • Loading branch information
nickvergessen authored Dec 6, 2023
2 parents 1631bec + 6ef5958 commit 5cf42ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/Controller/AppSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
Expand Down

0 comments on commit 5cf42ff

Please sign in to comment.