From cbe31fbf5775382d7de6f22b25e4ab798b895d0f Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Mon, 16 Feb 2015 12:01:05 +0100
Subject: Use `int` instead of `string`

---
 apps/files_versions/ajax/getVersions.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/files_versions/ajax')

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);
-- 
cgit v1.2.3