Marino Faggiana 6 жил өмнө
parent
commit
c94a880cf2

+ 1 - 1
PickerFileProvider/FileProvider.swift

@@ -671,9 +671,9 @@ class FileProvider: NSFileProviderExtension, CCNetworkingDelegate {
                 return
             }
             serverUrlTo = NCManageDatabase.sharedInstance.getServerUrl(metadataTo.directoryID)! + "/" + metadataTo.fileName
-            directoryIDTo = NCManageDatabase.sharedInstance.getDirectoryID(serverUrlTo)!
         }
         
+        directoryIDTo = NCManageDatabase.sharedInstance.getDirectoryID(serverUrlTo)!
         fileNameTo = serverUrlTo + "/" + itemFrom.filename
     
         ocNetworking?.moveFileOrFolder(fileNameFrom, fileNameTo: fileNameTo, success: {