check for null
This commit is contained in:
parent
6c714261d0
commit
1adbee5c9e
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ public class ConfigBuilderPlugin implements PluginBase, ConstraintsInterface, Tr
|
|||
|
||||
@Override
|
||||
public boolean isTempBasalInProgress() {
|
||||
return activeTreatments.isTempBasalInProgress();
|
||||
return activeTreatments != null && activeTreatments.isTempBasalInProgress();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue