summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-10-28 10:37:08 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-10-31 17:17:46 +0100
commit01c566883ea9a9ce0f99c093b40cedad8dc21599 (patch)
tree00d300a33e15359b0d784555494420c7bc51252d
parent89fc4358ba9720976d1ea22d778454cff2a3253c (diff)
downloadnextcloud-server-01c566883ea9a9ce0f99c093b40cedad8dc21599.tar.gz
nextcloud-server-01c566883ea9a9ce0f99c093b40cedad8dc21599.zip
%d instead %s
These are only numbers. THX @nickvergessen Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
-rw-r--r--lib/private/App/AppStore/Fetcher/AppFetcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php
index e7d600471d1..19e61d416a0 100644
--- a/lib/private/App/AppStore/Fetcher/AppFetcher.php
+++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php
@@ -47,7 +47,7 @@ class AppFetcher extends Fetcher {
$versionArray = \OC_Util::getVersion();
$this->endpointUrl = sprintf(
- 'https://apps.nextcloud.com/api/v1/platform/%s.%s.%s/apps.json',
+ 'https://apps.nextcloud.com/api/v1/platform/%d.%d.%d/apps.json',
$versionArray[0],
$versionArray[1],
$versionArray[2]