]> source.dussan.org Git - nextcloud-server.git/commitdiff
%d instead %s
authorLukas Reschke <lukas@statuscode.ch>
Fri, 28 Oct 2016 08:37:08 +0000 (10:37 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Mon, 31 Oct 2016 16:17:46 +0000 (17:17 +0100)
These are only numbers. THX @nickvergessen

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
lib/private/App/AppStore/Fetcher/AppFetcher.php

index e7d600471d17256de9ab0ef9ef6f3db73b0a3f9b..19e61d416a0bf8b657d9cb30f295c4724ffa7ac2 100644 (file)
@@ -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]