You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/11/29 09:35:22 UTC

svn commit: r721651 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java

Author: hansbak
Date: Sat Nov 29 00:35:22 2008
New Revision: 721651

URL: http://svn.apache.org/viewvc?rev=721651&view=rev
Log:
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 {