aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/server/model/DataServiceImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/web/server/model/DataServiceImpl.java')
-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 7f4172e0..d4857d57 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()) {