Author: hansbak Date: Tue Nov 4 02:39:56 2014 New Revision: 1636493 URL: http://svn.apache.org/r1636493 Log: use of wrong field name: https://issues.apache.org/jira/browse/OFBIZ-5846
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java?rev=1636493&r1=1636492&r2=1636493&view=diff ============================================================================== --- ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java (original) +++ ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java Tue Nov 4 02:39:56 2014 @@ -885,7 +885,7 @@ public class ContactMechServices { if (tempVal != null) { Map<String, Object> deletePcmCtx = UtilMisc.toMap("contactMechId", context.get("contactMechId")); deletePcmCtx.put("contactMechPurposeTypeId", context.get("contactMechPurposeTypeId")); - deletePcmCtx.put("fromDate", tempVal.get("fromDate")); + deletePcmCtx.put("fromDate", tempVal.get("purposeFromDate")); deletePcmCtx.put("userLogin", context.get("userLogin")); deletePcmCtx.put("partyId", partyId); try {