Author: mor
Date: Mon Sep 15 04:32:54 2008
New Revision: 695436
URL:
http://svn.apache.org/viewvc?rev=695436&view=revLog:
Small fix. Reported by Brajesh Patel and fix provided by Rishi Solanki
Modified:
ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml?rev=695436&r1=695435&r2=695436&view=diff==============================================================================
--- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Mon Sep 15 04:32:54 2008
@@ -1340,7 +1340,7 @@
</simple-method>
<simple-method method-name="setUserLoginFromEmail" short-description="Set userloginId from email. If user edit email address then set it as a new userLoginId and disabled date to far in the future for existing userLoginId">
- <if-compare field="parameters.userLoginId" operator="not-equals" value="userLogin.userLoginId">
+ <if-compare-field field="parameters.userLoginId" operator="not-equals" to-field="userLogin.userLoginId">
<set field="loggedInUser" from-field="userLogin"/>
<set-service-fields service-name="updateUserLoginId" map-name="parameters" to-map-name="serviceContext"/>
<set field="serviceContext.userLogin" from-field="userLogin"/>
@@ -1366,6 +1366,6 @@
<set field="loggedInUser.disabledDateTime" from-field="disabledDateTime"/>
<set field="loggedInUser.enabled" value="N"/>
<store-value value-name="loggedInUser"/>
- </if-compare>
+ </if-compare-field>
</simple-method>
</simple-methods>