소스 검색

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