Fix undefined index license in Apps

This commit is contained in:
Michael Gapczynski 2011-08-27 17:56:22 -04:00
parent 98ca6c4a16
commit 74c7890fbb
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -57,7 +57,7 @@ if(is_array($catagoryNames)){
'active'=>false,
'description'=>$app['description'],
'author'=>$app['personid'],
'licence'=>$app['license'],
'license'=>$app['license'],
);
}
}