marinofaggiana %!s(int64=4) %!d(string=hai) anos
pai
achega
a8f6fed071
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iOSClient/Networking/NCOperationQueue.swift

+ 1 - 1
iOSClient/Networking/NCOperationQueue.swift

@@ -180,7 +180,7 @@ class NCOperationSynchronization: ConcurrentOperation {
             if metadata.directory {
                 depth = "infinity"
                 serverUrlFileName = metadata.serverUrl + "/" + metadata.fileName
-                predicate = NSPredicate(format: "account == %@ AND serverUrl BEGINWITH %@", metadata.account, serverUrlFileName)
+                predicate = NSPredicate(format: "account == %@ AND serverUrl BEGINSWITH %@", metadata.account, serverUrlFileName)
             } else {
                 depth = "0"
                 serverUrlFileName = metadata.serverUrl + "/" + metadata.fileName