summaryrefslogtreecommitdiffstats
path: root/settings/apps.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/apps.php')
-rw-r--r--settings/apps.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/apps.php b/settings/apps.php
index 27bbcc9adab..7e21973805f 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -38,6 +38,10 @@ $blacklist=array('files');//we dont want to show configuration for these
foreach($registeredApps as $app){
if(array_search($app,$blacklist)===false){
$info=OC_App::getAppInfo($app);
+ if (!isset($info['name'])) {
+ OC_Log::write('core','App id "'.$app.'" has no name in appinfo',OC_Log::ERROR);
+ continue;
+ }
$active=(OC_Appconfig::getValue($app,'enabled','no')=='yes')?true:false;
$info['active']=$active;
if(isset($info['shipped']) and ($info['shipped']=='true')) {