summaryrefslogtreecommitdiffstats
path: root/lib/ocsclient.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-11 15:11:06 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-11 15:11:06 +0200
commitbc5bf18eedb3c3afd4c9266b5c4a0738f467d54f (patch)
treee013a8242768650691ffad496b56487145baa444 /lib/ocsclient.php
parent592eacf37d7b845499ddce65b15fa86791cb3eae (diff)
downloadnextcloud-server-bc5bf18eedb3c3afd4c9266b5c4a0738f467d54f.tar.gz
nextcloud-server-bc5bf18eedb3c3afd4c9266b5c4a0738f467d54f.zip
bit of work on app management
Diffstat (limited to 'lib/ocsclient.php')
-rw-r--r--lib/ocsclient.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ocsclient.php b/lib/ocsclient.php
index 2d85e715090..1df9e21e606 100644
--- a/lib/ocsclient.php
+++ b/lib/ocsclient.php
@@ -80,15 +80,15 @@ class OC_OCSClient{
$tmp=$data->data->content;
for($i = 0; $i < count($tmp); $i++) {
$app=array();
- $app['id']=$tmp[$i]->id;
- $app['name']=$tmp[$i]->name;
- $app['type']=$tmp[$i]->typeid;
- $app['typename']=$tmp[$i]->typename;
- $app['personid']=$tmp[$i]->personid;
- $app['detailpage']=$tmp[$i]->detailpage;
- $app['preview']=$tmp[$i]->smallpreviewpic1;
+ $app['id']=(string)$tmp[$i]->id;
+ $app['name']=(string)$tmp[$i]->name;
+ $app['type']=(string)$tmp[$i]->typeid;
+ $app['typename']=(string)$tmp[$i]->typename;
+ $app['personid']=(string)$tmp[$i]->personid;
+ $app['detailpage']=(string)$tmp[$i]->detailpage;
+ $app['preview']=(string)$tmp[$i]->smallpreviewpic1;
$app['changed']=strtotime($tmp[$i]->changed);
- $app['description']=$tmp[$i]->description;
+ $app['description']=(string)$tmp[$i]->description;
$apps[]=$app;
}