diff options
Diffstat (limited to 'apps/files_sharing/api/sharees.php')
-rw-r--r-- | apps/files_sharing/api/sharees.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/api/sharees.php b/apps/files_sharing/api/sharees.php index d7eabb9a550..924a9dd1cd7 100644 --- a/apps/files_sharing/api/sharees.php +++ b/apps/files_sharing/api/sharees.php @@ -292,7 +292,7 @@ class Sharees { $search = isset($_GET['search']) ? (string) $_GET['search'] : ''; $itemType = isset($_GET['itemType']) ? (string) $_GET['itemType'] : null; $page = !empty($_GET['page']) ? max(1, (int) $_GET['page']) : 1; - $perPage = !empty($_GET['limit']) ? max(1, (int) $_GET['limit']) : 200; + $perPage = !empty($_GET['perPage']) ? max(1, (int) $_GET['perPage']) : 200; $shareTypes = [ Share::SHARE_TYPE_USER, @@ -374,7 +374,7 @@ class Sharees { 'search' => $search, 'itemType' => $itemType, 'shareType' => $shareTypes, - 'limit' => $perPage, + 'perPage' => $perPage, ])); } |