diff --git a/lib/Controller/UtilController.php b/lib/Controller/UtilController.php index 9ac7900..9c8567f 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; }