summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-08-27 17:56:22 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-08-27 17:56:22 -0400
commit74c7890fbb3e1b52c9207e15a886f2d3820d1f6c (patch)
tree3943f1299ee5d27fbf7124d013385fa6bca3d7a0
parent98ca6c4a169334a998e3a5131a7aae12df4544d2 (diff)
downloadnextcloud-server-74c7890fbb3e1b52c9207e15a886f2d3820d1f6c.tar.gz
nextcloud-server-74c7890fbb3e1b52c9207e15a886f2d3820d1f6c.zip
Fix undefined index license in Apps
-rw-r--r--lib/ocsclient.php1
-rw-r--r--settings/apps.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/ocsclient.php b/lib/ocsclient.php
index 4b71f4550e5..654c5e0527b 100644
--- a/lib/ocsclient.php
+++ b/lib/ocsclient.php
@@ -85,6 +85,7 @@ class OC_OCSClient{
$app['type']=(string)$tmp[$i]->typeid;
$app['typename']=(string)$tmp[$i]->typename;
$app['personid']=(string)$tmp[$i]->personid;
+ $app['license']=(string)$tmp[$i]->license;
$app['detailpage']=(string)$tmp[$i]->detailpage;
$app['preview']=(string)$tmp[$i]->smallpreviewpic1;
$app['changed']=strtotime($tmp[$i]->changed);
diff --git a/settings/apps.php b/settings/apps.php
index d5aafd628e6..337a52fd416 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -57,7 +57,7 @@ if(is_array($catagoryNames)){
'active'=>false,
'description'=>$app['description'],
'author'=>$app['personid'],
- 'licence'=>$app['license'],
+ 'license'=>$app['license'],
);
}
}