Author: hansbak
Date: Sat Nov 29 00:35:22 2008
New Revision: 721651
URL:
http://svn.apache.org/viewvc?rev=721651&view=revLog:
send order confirmation from view screen not working: now fixed
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java?rev=721651&r1=721650&r2=721651&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java Sat Nov 29 00:35:22 2008
@@ -546,7 +546,7 @@
commEventMap.put("userLogin", userLogin);
commEventMap.put("contentMimeTypeId", contentType);
String runService = "createCommunicationEvent";
- if (emailType.equals("PARTY_REGIS_CONFIRM")) {
+ if ("PARTY_REGIS_CONFIRM".equals(emailType)) {
runService = "createCommunicationEventWithoutPermission"; // used to create a new Customer, Prospect or Employee
}
try {