Explorar el Código

change fieldname

Marino Faggiana hace 8 años
padre
commit
1094db0ad0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      iOSClient/FileSystem/CCCoreData.m

+ 1 - 1
iOSClient/FileSystem/CCCoreData.m

@@ -1519,7 +1519,7 @@
     TableAutomaticUpload *record = nil;
     
     // Record exists ?
-    record = [TableAutomaticUpload MR_findFirstWithPredicate:[NSPredicate predicateWithFormat:@"(account == %@) AND (identifier == %@)", account, metadataNet.assetLocalIdentifier] inContext:context];
+    record = [TableAutomaticUpload MR_findFirstWithPredicate:[NSPredicate predicateWithFormat:@"(account == %@) AND (assetLocalIdentifier == %@)", account, metadataNet.assetLocalIdentifier] inContext:context];
     if (record)
         return NO;