Fix minor issue in drop tables.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-23 16:31:31 -03:00
parent 3349f2e567
commit ee93a8f7ab
4 changed files with 15 additions and 15 deletions

View File

@@ -156,7 +156,7 @@ final public class NotificationService {
model.put("userAgent", userAgent);
final String errorReporterEmail = mailer.getErrorReporterEmail();
if (errorReporterEmail != null) {
if (errorReporterEmail != null && !errorReporterEmail.isEmpty()) {
mailer.sendEmail(mailer.getServerSenderEmail(), errorReporterEmail, "[WiseMapping] Editor error from " + user.getEmail(), model,
"editorErrorReport.vm");
}
@@ -174,7 +174,7 @@ final public class NotificationService {
model.put("userAgent", userAgent);
final String errorReporterEmail = mailer.getErrorReporterEmail();
if (errorReporterEmail != null) {
if (errorReporterEmail != null && !errorReporterEmail.isEmpty()) {
mailer.sendEmail(mailer.getServerSenderEmail(), errorReporterEmail, "[WiseMapping] Export error from " + user.getEmail(), model,
"editorErrorReport.vm");
}