aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/ajax/getVersions.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/ajax/getVersions.php')
-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 4f48f71d8ca..df29f401629 100644
--- a/apps/files_versions/ajax/getVersions.php
+++ b/apps/files_versions/ajax/getVersions.php
@@ -5,7 +5,7 @@ $source = $_GET['source'];
$start = $_GET['start'];
list ($uid, $filename) = OCA\Files_Versions\Storage::getUidAndFilename($source);
$count = 5; //show the newest revisions
-if( ($versions = OCA\Files_Versions\Storage::getVersions($uid, $filename)) ) {
+if( ($versions = OCA\Files_Versions\Storage::getVersions($uid, $filename, $source)) ) {
$endReached = false;
if (count($versions) <= $start+$count) {