浏览代码

Fix uploads

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 年之前
父节点
当前提交
d56f53bb11
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/owncloud/android/providers/FileContentProvider.java

+ 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);