diff options
Diffstat (limited to 'lib/Service/SearchService.php')
-rw-r--r-- | lib/Service/SearchService.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Service/SearchService.php b/lib/Service/SearchService.php index 3912139..5552b5c 100644 --- a/lib/Service/SearchService.php +++ b/lib/Service/SearchService.php @@ -123,7 +123,8 @@ class SearchService { $request->cleanSearch(); $providers = $this->providerService->getFilteredProviders($request->getProviders()); - $platform = $this->platformService->getPlatform(); + $wrapper = $this->platformService->getPlatform(); + $platform = $wrapper->getPlatform(); $access = $this->getDocumentAccessFromUser($user); $result = $this->searchFromProviders($platform, $providers, $access, $request); @@ -202,4 +203,4 @@ class SearchService { } -}
\ No newline at end of file +} |