svn commit: r563918 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java

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

svn commit: r563918 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java

jonesde
Author: jonesde
Date: Wed Aug  8 08:37:55 2007
New Revision: 563918

URL: http://svn.apache.org/viewvc?view=rev&rev=563918
Log:
Small change to not try to change the status to itself

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java?view=diff&rev=563918&r1=563917&r2=563918
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java Wed Aug  8 08:37:55 2007
@@ -1672,7 +1672,7 @@
             }
 
             // now set the new order status
-            if (newStatus != null) {
+            if (newStatus != null && !newStatus.equals(orderHeaderStatusId)) {
                 Map serviceContext = UtilMisc.toMap("orderId", orderId, "statusId", newStatus, "userLogin", userLogin);
                 Map newSttsResult = null;
                 try {