diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-10 09:56:00 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-10 09:56:00 +0100 |
commit | ae3483299cc8bfc226d8fe2a2501fd32c745c745 (patch) | |
tree | 0f6c9bbd2f2920ba993ff753b6eed131eb7bd67d /lib | |
parent | 22e5220c1f79a5f3db03decd9b6b13d70d4f2ff0 (diff) | |
parent | b8b4df5425e25403e77b108333faa2251b1348b3 (diff) | |
download | nextcloud-server-ae3483299cc8bfc226d8fe2a2501fd32c745c745.tar.gz nextcloud-server-ae3483299cc8bfc226d8fe2a2501fd32c745c745.zip |
Merge pull request #13212 from owncloud/cache-appstore-response
Cache responses from the AppStore server
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/ocsclient.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php index 351027d8018..7ce6723128b 100644 --- a/lib/private/ocsclient.php +++ b/lib/private/ocsclient.php @@ -147,7 +147,7 @@ class OC_OCSClient{ $app['changed']=strtotime($tmp[$i]->changed); $app['description']=(string)$tmp[$i]->description; $app['score']=(string)$tmp[$i]->score; - $app['downloads'] = $tmp[$i]->downloads; + $app['downloads'] = (int)$tmp[$i]->downloads; $apps[]=$app; } |