summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-16 12:01:05 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-16 12:01:05 +0100
commitcbe31fbf5775382d7de6f22b25e4ab798b895d0f (patch)
tree13a351ccab32d819bec348991be28c756c143234 /apps
parent200c0c89dc750c51eefd81dd929f0eaa44e67d01 (diff)
downloadnextcloud-server-cbe31fbf5775382d7de6f22b25e4ab798b895d0f.tar.gz
nextcloud-server-cbe31fbf5775382d7de6f22b25e4ab798b895d0f.zip
Use `int` instead of `string`
Diffstat (limited to 'apps')
-rw-r--r--apps/files_versions/ajax/getVersions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/ajax/getVersions.php b/apps/files_versions/ajax/getVersions.php
index 3d2e94be7c3..f3fc91116ba 100644
--- a/apps/files_versions/ajax/getVersions.php
+++ b/apps/files_versions/ajax/getVersions.php
@@ -4,7 +4,7 @@ OCP\JSON::callCheck();
OCP\JSON::checkAppEnabled('files_versions');
$source = (string)$_GET['source'];
-$start = (string)$_GET['start'];
+$start = (int)$_GET['start'];
list ($uid, $filename) = OCA\Files_Versions\Storage::getUidAndFilename($source);
$count = 5; //show the newest revisions
$versions = OCA\Files_Versions\Storage::getVersions($uid, $filename, $source);