diff options
author | J0WI <J0WI@users.noreply.github.com> | 2021-04-12 22:53:34 +0200 |
---|---|---|
committer | J0WI <J0WI@users.noreply.github.com> | 2021-04-12 22:54:50 +0200 |
commit | 74a7c2eefc60f6cb08f8a04ed6f785d8177d3a63 (patch) | |
tree | eb25ea2a2f20c866542c45a916f19e6efa5ce116 /apps/files_sharing/lib/Controller | |
parent | 4be2e1601e80a09aebac57eabb0aaf60e744362e (diff) | |
download | nextcloud-server-74a7c2eefc60f6cb08f8a04ed6f785d8177d3a63.tar.gz nextcloud-server-74a7c2eefc60f6cb08f8a04ed6f785d8177d3a63.zip |
Use correct getSystemValue type
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/lib/Controller')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareesAPIController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php index 131fe918530..ed809e7658d 100644 --- a/apps/files_sharing/lib/Controller/ShareesAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php @@ -144,7 +144,7 @@ class ShareesAPIController extends OCSController { public function search(string $search = '', string $itemType = null, int $page = 1, int $perPage = 200, $shareType = null, bool $lookup = true): DataResponse { // only search for string larger than a given threshold - $threshold = (int)$this->config->getSystemValue('sharing.minSearchStringLength', 0); + $threshold = $this->config->getSystemValueInt('sharing.minSearchStringLength', 0); if (strlen($search) < $threshold) { return new DataResponse($this->result); } |