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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

ruppert-2
Author: ruppert
Date: Fri Aug 31 17:22:14 2007
New Revision: 571656

URL: http://svn.apache.org/viewvc?rev=571656&view=rev
Log:
Fixed issue with parameters on sendMailFromScreen

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=571656&r1=571655&r2=571656&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 Fri Aug 31 17:22:14 2007
@@ -440,12 +440,12 @@
 
         if (Debug.verboseOn()) Debug.logVerbose("sendMailFromScreen sendMail context: " + serviceContext, module);
 
-        Map result;
+        Map result = ServiceUtil.returnSuccess();
         try {
             if (isMultiPart) {
-                result = dispatcher.runSync("sendMailMultiPart", serviceContext);
+                dispatcher.runSync("sendMailMultiPart", serviceContext);
             } else {
-                result = dispatcher.runSync("sendMail", serviceContext);
+                dispatcher.runSync("sendMail", serviceContext);
             }
         } catch (Exception e) {
             String errMsg = "Error send email :" + e.toString();