Procházet zdrojové kódy

BUG dictionaryFileIDMetadataForIndexPath

Marino Faggiana před 8 roky
rodič
revize
597bbd2938
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      iOSClient/Main/CCSection.m

+ 2 - 1
iOSClient/Main/CCSection.m

@@ -149,7 +149,8 @@
             [sectionDataSource.sectionArrayRow setObject:metadatas forKey:dataSection];
         }
 
-        [dictionaryFileIDMetadataForIndexPath setObject:metadata forKey:metadata.fileID];
+        if (metadata && [metadata.fileID length] > 0)
+            [dictionaryFileIDMetadataForIndexPath setObject:metadata forKey:metadata.fileID];
     }
     
     /*