From 8b919ecdc4624d13423f6fd6bb00a48bf3f48c62 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Fri, 25 May 2018 16:27:45 +0200 Subject: Properly search for other apps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/Controller/AppSettingsController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'settings/Controller') 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); -- cgit v1.2.3