You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/04/20 08:59:07 UTC

svn commit: r1328226 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java

Author: jleroux
Date: Fri Apr 20 06:59:06 2012
New Revision: 1328226

URL: http://svn.apache.org/viewvc?rev=1328226&view=rev
Log:
Fixes a NPE introduced at r1328122

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java?rev=1328226&r1=1328225&r2=1328226&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/email/EmailServices.java Fri Apr 20 06:59:06 2012
@@ -586,6 +586,7 @@ public class EmailServices {
         Map<String, Object> result = ServiceUtil.returnSuccess();
         Map<String, Object> sendMailResult;
         Boolean hideInLog = (Boolean) serviceContext.get("hideInLog");
+        hideInLog = hideInLog == null ? false : hideInLog;
         try {
             if (!hideInLog) {
                 if (isMultiPart) {