@@ -2099,10 +2099,9 @@
if ([CCUtility isFolderEncrypted:self.serverUrl account:app.activeAccount]) {
- // Verify if exists new fileName
+ // Verify if exists the new fileName
if ([[NCManageDatabase sharedInstance] getE2eEncryptionWithPredicate:[NSPredicate predicateWithFormat:@"account = %@ AND serverUrl = %@ AND fileName = %@", app.activeAccount, self.serverUrl, fileName]]) {
[app messageNotification:@"_error_" description:@"_file_already_exists_" visible:YES delay:k_dismissAfterSecond type:TWMessageBarMessageTypeError errorCode:0];
-
return;
}