diff --git a/Mplusqapiclient.php b/Mplusqapiclient.php index 9c54ae8..3426ea2 100755 --- a/Mplusqapiclient.php +++ b/Mplusqapiclient.php @@ -5095,6 +5095,8 @@ public function parseUpdateOrderResult($soapUpdateOrderResult) { return true; } else if (isset($soapUpdateOrderResult->result) and $soapUpdateOrderResult->result == 'UPDATE-ORDER-RESULT-FAILED' and $soapUpdateOrderResult->errorMessage == 'Order not saved because there were no changes in the order.') { return true; + } else if (isset($soapUpdateOrderResult->result) and $soapUpdateOrderResult->result == 'UPDATE-ORDER-RESULT-NO-CHANGES') { + return true; } else { if ( ! empty($soapUpdateOrderResult->errorMessage)) { $this->lastErrorMessage = $soapUpdateOrderResult->errorMessage; @@ -5145,6 +5147,8 @@ public function parseSaveOrderResult($soapSaveOrderResult) } } else if (isset($soapSaveOrderResult->result) and $soapSaveOrderResult->result == 'SAVE-ORDER-RESULT-FAILED' and $soapSaveOrderResult->errorMessage == 'Order not saved because there were no changes in the order.') { return true; + } else if (isset($soapSaveOrderResult->result) and $soapSaveOrderResult->result == 'SAVE-ORDER-RESULT-NO-CHANGES') { + return true; } else { if ( ! empty($soapSaveOrderResult->errorMessage)) { $this->lastErrorMessage = $soapSaveOrderResult->errorMessage;