Skip to content
Snippets Groups Projects
Commit a16c6fb8 authored by Robin Appelman's avatar Robin Appelman
Browse files

don't use items in an array that aren't there

parent fb74de32
No related branches found
No related tags found
No related merge requests found
......@@ -270,6 +270,12 @@ class OC_APP{
if( is_null( $app )){
foreach( OC_APP::$settingspages as $i ){
if(!isset($i["id"])){
$i["id"]='';
}
if(!isset($i["app"])){
$i["app"]='';
}
if( $i["id"] == $i["app"] ){
$return[] = $i;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment