diff --git a/backend/src/main/java/de/uni_koeln/arachne/service/ImageService.java b/backend/src/main/java/de/uni_koeln/arachne/service/ImageService.java index 34a3b0eac..767db5ffe 100644 --- a/backend/src/main/java/de/uni_koeln/arachne/service/ImageService.java +++ b/backend/src/main/java/de/uni_koeln/arachne/service/ImageService.java @@ -57,7 +57,7 @@ public void addImages(final Dataset dataset) { if (excludeList.contains(arachneId.getTableName())) { return; } else { - if ("marbilder".equals(arachneId.getTableName()) && !arachneId.deleted) { + if ("marbilder".equals(arachneId.getTableName()) && !arachneId.isDeleted()) { final Image image = new Image(); image.setImageId(arachneId.getArachneEntityID()); String fileName = dataset.getField("marbilder.DateinameMarbilder");