Skip to content

Commit

Permalink
Fix AppSettingsController.php overwriting currentLanguage
Browse files Browse the repository at this point in the history
Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View

Signed-off-by: 1 Man Projects <reed@1manprojects.de>
  • Loading branch information
1manprojects authored and backportbot-nextcloud[bot] committed Dec 6, 2023
1 parent b10f72f commit 7c40700
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 7c40700

Please sign in to comment.