aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/QueryBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database/QueryBuilder.java')
-rw-r--r--src/org/traccar/database/QueryBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/QueryBuilder.java b/src/org/traccar/database/QueryBuilder.java
index 477434fb5..b91218a13 100644
--- a/src/org/traccar/database/QueryBuilder.java
+++ b/src/org/traccar/database/QueryBuilder.java
@@ -178,7 +178,7 @@ public final class QueryBuilder {
if (value == 0) {
statement.setNull(i, Types.INTEGER);
} else {
- statement.setLong(i, value);
+ statement.setLong(i, value);
}
} catch (SQLException error) {
statement.close();