Merge pull request #2221 from nextcloud/from-is-featured-to-featured
Error log spam: Cast "isFeatured" to "featured"
This commit is contained in:
commit
1e06d0bb47
|
@ -154,6 +154,9 @@ class AppSettingsController extends Controller {
|
||||||
$formattedApps = [];
|
$formattedApps = [];
|
||||||
$apps = $this->appFetcher->get();
|
$apps = $this->appFetcher->get();
|
||||||
foreach($apps as $app) {
|
foreach($apps as $app) {
|
||||||
|
if (isset($app['isFeatured'])) {
|
||||||
|
$app['featured'] = $app['isFeatured'];
|
||||||
|
}
|
||||||
|
|
||||||
// Skip all apps not in the requested category
|
// Skip all apps not in the requested category
|
||||||
$isInCategory = false;
|
$isInCategory = false;
|
||||||
|
|
Loading…
Reference in New Issue