dont throw errors when apps dont have types configured
This commit is contained in:
parent
3b4c47c52e
commit
3775c0d8b2
1 changed files with 5 additions and 1 deletions
|
@ -114,7 +114,11 @@ class OC_App{
|
|||
self::$appTypes=OC_Appconfig::getValues(false,'types');
|
||||
}
|
||||
|
||||
return explode(',',self::$appTypes[$app]);
|
||||
if(isset(self::$appTypes[$app])){
|
||||
return explode(',',self::$appTypes[$app]);
|
||||
}else{
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue