aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-23 17:39:07 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-23 17:39:07 +0500
commit03dc6436216c90fc6f6914afb5807659a71201de (patch)
treea73fcf4b31f01e537ab8e43f53cad5f13ee94fe3 /src
parente89bbb8ee9dd1dd1f19fb33f1f9291c6ae5f43db (diff)
downloadtrackermap-server-03dc6436216c90fc6f6914afb5807659a71201de.tar.gz
trackermap-server-03dc6436216c90fc6f6914afb5807659a71201de.tar.bz2
trackermap-server-03dc6436216c90fc6f6914afb5807659a71201de.zip
One more place
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/database/DeviceManager.java2
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;
}