aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/reports/common/ReportUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/reports/common/ReportUtils.java b/src/main/java/org/traccar/reports/common/ReportUtils.java
index 253a6a2b6..7fff46f66 100644
--- a/src/main/java/org/traccar/reports/common/ReportUtils.java
+++ b/src/main/java/org/traccar/reports/common/ReportUtils.java
@@ -93,7 +93,7 @@ public class ReportUtils {
public <T extends BaseModel> T getObject(
long userId, Class<T> clazz, long objectId) throws StorageException, SecurityException {
return storage.getObject(clazz, new Request(
- new Columns.Include("id"),
+ new Columns.All(),
new Condition.And(
new Condition.Equals("id", "id", objectId),
new Condition.Permission(User.class, userId, clazz))));