summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-21 23:11:29 +0100
committerGitHub <noreply@github.com>2016-11-21 23:11:29 +0100
commit1e06d0bb47a3751865205fdcad4201b76ddf5df7 (patch)
treebc4a14f589f998df1ced2ee8f16f81b50d59ecac /settings
parentd0c3c5cee333c863af1e7971af2c6ef2d04cfd9a (diff)
parente2bfce0d263471014b18f813de93b6fdfdaaff39 (diff)
downloadnextcloud-server-1e06d0bb47a3751865205fdcad4201b76ddf5df7.tar.gz
nextcloud-server-1e06d0bb47a3751865205fdcad4201b76ddf5df7.zip
Merge pull request #2221 from nextcloud/from-is-featured-to-featured
Error log spam: Cast "isFeatured" to "featured"
Diffstat (limited to 'settings')
-rw-r--r--settings/Controller/AppSettingsController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php
index b668c5cfb38..8d12b2a85a2 100644
--- a/settings/Controller/AppSettingsController.php
+++ b/settings/Controller/AppSettingsController.php
@@ -154,6 +154,9 @@ class AppSettingsController extends Controller {
$formattedApps = [];
$apps = $this->appFetcher->get();
foreach($apps as $app) {
+ if (isset($app['isFeatured'])) {
+ $app['featured'] = $app['isFeatured'];
+ }
// Skip all apps not in the requested category
$isInCategory = false;