From 29af6160d6ecb54b8eca09e3eec5dada325f7f94 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Tue, 4 Dec 2018 18:54:26 -0500 Subject: [PATCH] Fix typo --- .../main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java index 01a7a9e5ec8..56476f422fd 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java @@ -896,7 +896,7 @@ public abstract class BaseHapiFhirResourceDao extends B T retVal = toResource(myResourceType, entity, null, false); - if (theForHistory == false) { + if (theDeletedOk == false) { if (entity.getDeleted() != null) { throw new ResourceGoneException("Resource was deleted at " + new InstantType(entity.getDeleted()).getValueAsString()); }