From 3111977ea54c7b0a7abae467bd4dd3614e174921 Mon Sep 17 00:00:00 2001 From: Miroslav Blasko Date: Tue, 23 Jul 2024 12:49:48 +0200 Subject: [PATCH] [#kbss-cvut/23ava-distribution/133] Fix modification author if not admin --- .../study/service/repository/RepositoryPatientRecordService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cz/cvut/kbss/study/service/repository/RepositoryPatientRecordService.java b/src/main/java/cz/cvut/kbss/study/service/repository/RepositoryPatientRecordService.java index d524a105..3dc56c30 100644 --- a/src/main/java/cz/cvut/kbss/study/service/repository/RepositoryPatientRecordService.java +++ b/src/main/java/cz/cvut/kbss/study/service/repository/RepositoryPatientRecordService.java @@ -109,6 +109,7 @@ private void setImportedRecordProvenance(User currentUser, Date now, Optional record.setPhase(RecordPhase.open));