Browse Source

cleanup

Signed-off-by: Jens Mueller <tschenser@gmx.de>
Jens Mueller 6 years ago
parent
commit
e62879ac91

+ 1 - 1
src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java

@@ -705,7 +705,7 @@ public class DocumentsStorageProvider extends DocumentsProvider {
     }
     }
 
 
     private Document toDocument(String documentId) {
     private Document toDocument(String documentId) {
-        String[] separated = documentId.split(DOCUMENTID_SEPARATOR);
+        String[] separated = documentId.split(DOCUMENTID_SEPARATOR, 2);
         if (separated.length != 2) {
         if (separated.length != 2) {
             return null;
             return null;
         }
         }