diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-27 17:56:22 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-27 17:56:22 -0400 |
commit | 74c7890fbb3e1b52c9207e15a886f2d3820d1f6c (patch) | |
tree | 3943f1299ee5d27fbf7124d013385fa6bca3d7a0 | |
parent | 98ca6c4a169334a998e3a5131a7aae12df4544d2 (diff) | |
download | nextcloud-server-74c7890fbb3e1b52c9207e15a886f2d3820d1f6c.tar.gz nextcloud-server-74c7890fbb3e1b52c9207e15a886f2d3820d1f6c.zip |
Fix undefined index license in Apps
-rw-r--r-- | lib/ocsclient.php | 1 | ||||
-rw-r--r-- | settings/apps.php | 2 |
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'], ); } } |