Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Add missing paranthesis

ashilkn16178b6f098f
diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dart
index 16db97337e..444395f7de 100644
--- a/mobile/lib/db/files_db.dart
+++ b/mobile/lib/db/files_db.dart
@@ -1746,7 +1746,7 @@ class FilesDB {
final results = await db.getAll(
'''
SELECT DISTINCT $columnUploadedFileID FROM $filesTable
- WHERE $columnOwnerID = ? AND $columnUploadedFileID IS NOT NULL AND
+ WHERE ($columnOwnerID = ? AND $columnUploadedFileID IS NOT NULL AND
$columnUploadedFileID IS NOT -1)
''',
[ownerID],