diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-02-16 12:01:05 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-02-16 12:01:05 +0100 |
commit | cbe31fbf5775382d7de6f22b25e4ab798b895d0f (patch) | |
tree | 13a351ccab32d819bec348991be28c756c143234 /apps | |
parent | 200c0c89dc750c51eefd81dd929f0eaa44e67d01 (diff) | |
download | nextcloud-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.php | 2 |
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); |