svn commit: r982118 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r982118 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java

lektran
Author: lektran
Date: Wed Aug  4 04:17:52 2010
New Revision: 982118

URL: http://svn.apache.org/viewvc?rev=982118&view=rev
Log:
Remove escaping of single quotes from a city string before it is adding to the entity condition.  I'm not really sure of what its purpose was.

Modified:
    ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java

Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java?rev=982118&r1=982117&r2=982118&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java Wed Aug  4 04:17:52 2010
@@ -258,7 +258,6 @@ public class PartyWorker {
             addrExprs.add(EntityCondition.makeCondition("postalCodeExt", EntityOperator.EQUALS, postalCodeExt));
         }
 
-        city = city.replaceAll("'", "\\\\'");
         addrExprs.add(EntityCondition.makeCondition(EntityFunction.UPPER_FIELD("city"), EntityOperator.EQUALS, EntityFunction.UPPER(city)));
 
         if (countryGeoId != null) {