diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-05-25 16:27:45 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | 8b919ecdc4624d13423f6fd6bb00a48bf3f48c62 (patch) | |
tree | 54ff4fbee5d61d91fb3311b65de455e2516d287d /settings/Controller | |
parent | d52aa55a4fd78605fd83fee20af9bca84331f6af (diff) | |
download | nextcloud-server-8b919ecdc4624d13423f6fd6bb00a48bf3f48c62.tar.gz nextcloud-server-8b919ecdc4624d13423f6fd6bb00a48bf3f48c62.zip |
Properly search for other apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/AppSettingsController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php index a44a252a747..6784a53aee9 100644 --- a/settings/Controller/AppSettingsController.php +++ b/settings/Controller/AppSettingsController.php @@ -485,6 +485,7 @@ class AppSettingsController extends Controller { $apps = array_map(function($appData) use ($manager) { $appStoreData = $manager->getApp($appData['id']); $appData['appstoreData'] = $appStoreData; + $appData['license'] = $appStoreData['releases'][0]['licenses']; $appData['preview'] = isset($appStoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/'.base64_encode($appStoreData['screenshots'][0]['url']) : ''; return $appData; }, $apps); |