From 8f0cbf2a3fb5939f8c0af29c76e2c1923af8e58b Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sun, 13 Dec 2009 12:21:48 +0000 Subject: [PATCH] Wrong value was checked. Before creating the user login, I checked the presence of the cardId instead of the phone (certainly a remaining in the code from previous attempts). git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890057 13f79535-47bb-0310-9956-ffa450edef68 --- specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java b/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java index 0b57fafa5c..ced15769ee 100644 --- a/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java +++ b/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java @@ -1715,7 +1715,7 @@ public class PosTransaction implements Serializable { svcCtx.put("userLogin", userLogin); svcCtx.put("lastName", name); svcCtx.put("firstName", ""); // Needed by service createPersonAndUserLogin - if (UtilValidate.isNotEmpty(email) && UtilValidate.isNotEmpty(card)) { + if (UtilValidate.isNotEmpty(email) && UtilValidate.isNotEmpty(phone)) { svcCtx.put("userLoginId", email); svcCtx.put("currentPassword", phone); svcCtx.put("currentPasswordVerify", phone);