From 665716095b719a9804f9104c42ce72254d3125ff Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 15 Sep 2015 12:14:14 +0200 Subject: Fix parameter name to match the specs --- apps/files_sharing/api/sharees.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files_sharing/api/sharees.php') 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, ])); } -- cgit v1.2.3