Skip to content

Commit

Permalink
create report from url
Browse files Browse the repository at this point in the history
  • Loading branch information
Josias Polchau committed Jul 4, 2024
1 parent 8014de9 commit 736b53b
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,14 @@ public ActionForward executeAuthenticated(ActionMapping mapping, AddDailyReportF

// init the rest of the form
form.setTraining(false);
form.setComment("");

if ( request.getParameter("comment") != null) {
String comment = request.getParameter("comment");
form.setComment(comment);
}
else {
form.setComment("");
}

// store last selected order
String lastOrder;
Expand Down

0 comments on commit 736b53b

Please sign in to comment.