Browse files

receipt email address can be null for error notification method

  • Loading branch information...
1 parent e851ee9 commit b3076300976d079fe280a4170f3e1c7e2dbd5621 @gregjan gregjan committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/src/main/java/cdr/forms/FormController.java
View
2 forms/src/main/java/cdr/forms/FormController.java
@@ -229,7 +229,7 @@ public String processForm(@PathVariable String formId, @Valid @ModelAttribute("f
LOG.error("deposit failed");
- if (getNotificationHandler() != null && receiptEmailAddress != null)
+ if (getNotificationHandler() != null)
getNotificationHandler().notifyError(form, result, receiptEmailAddress, formId);
response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);

0 comments on commit b307630

Please sign in to comment.