Browse Source

change fieldname

Marino Faggiana 8 years ago
parent
commit
1094db0ad0
1 changed files with 1 additions and 1 deletions
  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;