From 92f7e7edf8311eda04c018775ce5f94b274c06d3 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Sat, 6 Apr 2024 10:26:53 +0200 Subject: [PATCH] fix empty audit trail tab in dialog --- .../org/phoenixctms/ctsms/service/trial/TrialServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/phoenixctms/ctsms/service/trial/TrialServiceImpl.java b/core/src/main/java/org/phoenixctms/ctsms/service/trial/TrialServiceImpl.java index f4193431b8b7..23a52a3f2eb9 100644 --- a/core/src/main/java/org/phoenixctms/ctsms/service/trial/TrialServiceImpl.java +++ b/core/src/main/java/org/phoenixctms/ctsms/service/trial/TrialServiceImpl.java @@ -5987,7 +5987,7 @@ protected ECRFFieldValuesOutVO handleGetEcrfFieldValue(AuthenticationVO auth, Lo throws Exception { CheckIDUtil.checkProbandListEntryId(probandListEntryId, this.getProbandListEntryDao()); ECRFField ecrfField = CheckIDUtil.checkEcrfFieldId(ecrfFieldId, this.getECRFFieldDao()); - if (visitId == null) { + if (visitId != null) { CheckIDUtil.checkVisitId(visitId, this.getVisitDao()); } checkEcrfFieldValueIndex(ecrfField, probandListEntryId, visitId, ecrfFieldId, index);