From 240148bb461120750e53cbb7e4a92f6d7a9ad0ad Mon Sep 17 00:00:00 2001 From: kyteinsky Date: Thu, 18 Jun 2026 15:00:10 +0530 Subject: [PATCH] fix: use correct arg order with str_starts_with Signed-off-by: kyteinsky --- lib/Controller/UtilController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/UtilController.php b/lib/Controller/UtilController.php index 9ac7900a..9c8567f3 100644 --- a/lib/Controller/UtilController.php +++ b/lib/Controller/UtilController.php @@ -52,7 +52,7 @@ public function resolveScopeList(IRootFolder $rootFolder, StorageService $storag $newScopeList = []; foreach ($source_ids as $source_id) { // Check whether this is a files source, if not just pass it through - if (!str_starts_with($providerConfigService::getDefaultProviderKey(), $source_id)) { + if (!str_starts_with($source_id, $providerConfigService::getDefaultProviderKey())) { $newScopeList[] = $source_id; continue; }