changeset 4:e79c7d4dcd7a

fix email footer
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 25 Apr 2019 15:15:45 -0600
parents 1010f557927f
children b74139388033
files src/nabble/view/web/user/SendEmail.java src/nabble/view/web/user/SendEmail.jtp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/nabble/view/web/user/SendEmail.java	Mon Mar 25 18:38:18 2019 -0600
+++ b/src/nabble/view/web/user/SendEmail.java	Thu Apr 25 15:15:45 2019 -0600
@@ -97,7 +97,7 @@
 
 				Site site = Jtp.getSite(request);
 				if (site != null) {
-					message += "\n\n_____________________________________\nSent from " + site.getBaseUrl() + "\n\n";
+					message += "\n\n_____________________________________\nSent from " + Jtp.getBaseUrl(request) + "\n\n";
 				}
 
 				Mail mail = MailHome.newMail();
--- a/src/nabble/view/web/user/SendEmail.jtp	Mon Mar 25 18:38:18 2019 -0600
+++ b/src/nabble/view/web/user/SendEmail.jtp	Thu Apr 25 15:15:45 2019 -0600
@@ -97,7 +97,7 @@
 
 				Site site = Jtp.getSite(request);
 				if (site != null) {
-					message += "\n\n_____________________________________\nSent from " + site.getBaseUrl() + "\n\n";
+					message += "\n\n_____________________________________\nSent from " + Jtp.getBaseUrl(request) + "\n\n";
 				}
 
 				Mail mail = MailHome.newMail();