Author: jleroux
Date: Fri Apr 20 06:59:06 2012
New Revision: 1328226
URL:
http://svn.apache.org/viewvc?rev=1328226&view=revLog:
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) {