Don't trust stored total when determining whether or not to expand.

This commit is contained in:
Diederik Muylwyk 2019-09-03 18:44:52 -04:00
parent 8c6fd9f2d9
commit aa9a984075
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ public abstract class BaseHapiTerminologySvcImpl implements IHapiTerminologySvc,
theExpansionComponent.addParameter().setName("offset").setValue(new IntegerType(theOffset));
theExpansionComponent.addParameter().setName("count").setValue(new IntegerType(theCount));
if (theCount == 0 || total == 0) {
if (theCount == 0) {
return;
}