summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-16 20:36:32 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-16 20:36:43 +0200
commita16c6fb804d03ab06ac88a751b50127c3c29c440 (patch)
tree146351675f9f018d5c3a9336b7c14d6fb88b74fb /lib/app.php
parentfb74de326d9bb9b8b215f2f819c9aa7bd56a2438 (diff)
downloadnextcloud-server-a16c6fb804d03ab06ac88a751b50127c3c29c440.tar.gz
nextcloud-server-a16c6fb804d03ab06ac88a751b50127c3c29c440.zip
don't use items in an array that aren't there
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/app.php b/lib/app.php
index 5db3e047fd7..c9e4d534357 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -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;
}