diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-23 17:39:07 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-23 17:39:07 +0500 |
commit | 03dc6436216c90fc6f6914afb5807659a71201de (patch) | |
tree | a73fcf4b31f01e537ab8e43f53cad5f13ee94fe3 /src/org/traccar/database | |
parent | e89bbb8ee9dd1dd1f19fb33f1f9291c6ae5f43db (diff) | |
download | trackermap-server-03dc6436216c90fc6f6914afb5807659a71201de.tar.gz trackermap-server-03dc6436216c90fc6f6914afb5807659a71201de.tar.bz2 trackermap-server-03dc6436216c90fc6f6914afb5807659a71201de.zip |
One more place
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/DeviceManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DeviceManager.java b/src/org/traccar/database/DeviceManager.java index 5681602fe..e0b7fd2db 100644 --- a/src/org/traccar/database/DeviceManager.java +++ b/src/org/traccar/database/DeviceManager.java @@ -408,7 +408,7 @@ public class DeviceManager implements IdentityManager { long groupId = device.getGroupId(); while (groupId != 0) { if (getGroupById(groupId) != null) { - result = (String) getGroupById(groupId).getAttributes().get(attributeName); + result = getGroupById(groupId).getString(attributeName); if (result != null) { break; } |