Skip to content

Commit a7dcd7b

Browse files
authored
Merge pull request #3234 from magento-mpi/mpi-PR-2809
[MPI]-MAGETWO-94181
2 parents 91a37a8 + c369d8b commit a7dcd7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Service/CreditmemoService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ public function refund(
177177
$creditmemo->getOrder(),
178178
!$offlineRequested
179179
);
180-
$this->getOrderRepository()->save($order);
181180
$this->creditmemoRepository->save($creditmemo);
181+
$this->getOrderRepository()->save($order);
182182
$connection->commit();
183183
} catch (\Exception $e) {
184184
$connection->rollBack();

0 commit comments

Comments
 (0)