diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-21 23:11:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-21 23:11:29 +0100 |
commit | 1e06d0bb47a3751865205fdcad4201b76ddf5df7 (patch) | |
tree | bc4a14f589f998df1ced2ee8f16f81b50d59ecac /settings | |
parent | d0c3c5cee333c863af1e7971af2c6ef2d04cfd9a (diff) | |
parent | e2bfce0d263471014b18f813de93b6fdfdaaff39 (diff) | |
download | nextcloud-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.php | 3 |
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; |