dont throw errors when apps dont have types configured
This commit is contained in:
parent
f00b57f8be
commit
cb23bae8d9
|
@ -114,7 +114,11 @@ class OC_App{
|
||||||
self::$appTypes=OC_Appconfig::getValues(false,'types');
|
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 New Issue