Author: lektran
Date: Mon May 21 01:41:44 2007
New Revision: 540061
URL:
http://svn.apache.org/viewvc?view=rev&rev=540061Log:
Applied partial fix from trunk for revision: 539086
Modified:
ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
Modified: ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java?view=diff&rev=540061&r1=540060&r2=540061==============================================================================
--- ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java (original)
+++ ofbiz/branches/release4.0/applications/order/src/org/ofbiz/order/order/OrderReturnServices.java Mon May 21 01:41:44 2007
@@ -273,11 +273,11 @@
}
// check for errors
- if (sendResp != null && !ServiceUtil.isError(sendResp)) {
+ if (sendResp != null && ServiceUtil.isError(sendResp)) {
sendResp.put("emailType", emailType);
return ServiceUtil.returnError(UtilProperties.getMessage(resource_error, "OrderProblemSendingEmail", locale), null, null, sendResp);
}
- return sendResp;
+ return ServiceUtil.returnSuccess();
}
}