aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/web/server/model/DataServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/server/model/DataServiceImpl.java b/src/org/traccar/web/server/model/DataServiceImpl.java
index 7f4172e..d4857d5 100644
--- a/src/org/traccar/web/server/model/DataServiceImpl.java
+++ b/src/org/traccar/web/server/model/DataServiceImpl.java
@@ -307,7 +307,7 @@ public class DataServiceImpl extends RemoteServiceServlet implements DataService
query.setParameter("id", device.getUniqueId());
List<Device> results = query.getResultList();
- ser user = getSessionUser();
+ User user = getSessionUser();
entityManager.getTransaction().begin();
try {
if (results.isEmpty()) {