Skip to content

Commit

Permalink
Resolving model from null
Browse files Browse the repository at this point in the history
  • Loading branch information
sherrif10 committed Feb 10, 2021
1 parent 301e3da commit 58b72f7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ public void get(@RequestParam("encounter") Encounter encounter,
if (htmlForm == null) {
message = messageSourceService.getMessage("encounter.form is not an HTML Form" +encounter.getForm());
log.warn("Active drugs are cannot be editted");
model.addAttribute("htmlForm", htmlForm);



}
model.addAttribute("htmlForm", htmlForm);
}
Expand Down

0 comments on commit 58b72f7

Please sign in to comment.