Browse Source

Fix uploads

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 years ago
parent
commit
d56f53bb11

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

@@ -621,8 +621,8 @@ public class FileContentProvider extends ContentProvider {
 
         // if both are null, let them pass to query
         if (selectionArgs == null && selection != null) {
-            selectionArgs = new String[]{selection};
             selection = "(?)";
+            selectionArgs = new String[]{selection};
         }
 
         sqlQuery.setStrict(true);