svn commit: r792422 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/CreateValue.java

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

svn commit: r792422 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/CreateValue.java

jonesde
Author: jonesde
Date: Thu Jul  9 06:50:23 2009
New Revision: 792422

URL: http://svn.apache.org/viewvc?rev=792422&view=rev
Log:
Fixed issue discovered and fixed and reported by Ian Tabangay, thanks Ian

Modified:
    ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/CreateValue.java

Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/CreateValue.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/CreateValue.java?rev=792422&r1=792421&r2=792422&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/CreateValue.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/entityops/CreateValue.java Thu Jul  9 06:50:23 2009
@@ -73,7 +73,7 @@
             return false;
         }
         try {
-            if (createOrStore = true) {
+            if (createOrStore == true) {
                 methodContext.getDelegator().createOrStore(value, doCacheClear);
             } else {
                 methodContext.getDelegator().create(value, doCacheClear);