Author: ashish
Date: Sat Nov 29 08:07:26 2014
New Revision: 1642401
URL: http://svn.apache.org/r1642401
Log:
One minor changes that I missed to commit in previous commit.
Modified:
ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java
Modified:
ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java?rev=1642401&r1=1642400&r2=1642401&view=diff
==============================================================================
---
ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java
(original)
+++
ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/login/LoginEvents.java
Sat Nov 29 08:07:26 2014
@@ -259,7 +259,7 @@ public class LoginEvents {
// get the ProductStore email settings
GenericValue productStoreEmail = null;
try {
- productStoreEmail = delegator.findOne("ProductStoreEmailSetting",
false, "productStoreId", productStoreId, "emailType", "PRDS_PWD_RETRIEVE");
+ productStoreEmail =
EntityQuery.use(delegator).from("ProductStoreEmailSetting").where("productStoreId",
productStoreId, "emailType", "PRDS_PWD_RETRIEVE").queryOne();
} catch (GenericEntityException e) {
Debug.logError(e, "Problem getting ProductStoreEmailSetting",
module);
}