Fix undefined index license in Apps
This commit is contained in:
parent
98ca6c4a16
commit
74c7890fbb
|
@ -85,6 +85,7 @@ class OC_OCSClient{
|
||||||
$app['type']=(string)$tmp[$i]->typeid;
|
$app['type']=(string)$tmp[$i]->typeid;
|
||||||
$app['typename']=(string)$tmp[$i]->typename;
|
$app['typename']=(string)$tmp[$i]->typename;
|
||||||
$app['personid']=(string)$tmp[$i]->personid;
|
$app['personid']=(string)$tmp[$i]->personid;
|
||||||
|
$app['license']=(string)$tmp[$i]->license;
|
||||||
$app['detailpage']=(string)$tmp[$i]->detailpage;
|
$app['detailpage']=(string)$tmp[$i]->detailpage;
|
||||||
$app['preview']=(string)$tmp[$i]->smallpreviewpic1;
|
$app['preview']=(string)$tmp[$i]->smallpreviewpic1;
|
||||||
$app['changed']=strtotime($tmp[$i]->changed);
|
$app['changed']=strtotime($tmp[$i]->changed);
|
||||||
|
|
|
@ -57,7 +57,7 @@ if(is_array($catagoryNames)){
|
||||||
'active'=>false,
|
'active'=>false,
|
||||||
'description'=>$app['description'],
|
'description'=>$app['description'],
|
||||||
'author'=>$app['personid'],
|
'author'=>$app['personid'],
|
||||||
'licence'=>$app['license'],
|
'license'=>$app['license'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue