Skip to content

Commit

Permalink
fix: $id is an array with oxid inside ...
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Sep 13, 2024
1 parent 059028b commit adc5f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/OrderRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function cleanUpNotFinishedOrders(): void

foreach ($ids as $id) {
$order = oxNew(EshopModelOrder::class);
if ($order->load($id)) {
if ($order->load($id['oxid'])) {
// storno
$order->cancelOrder();
}
Expand Down

0 comments on commit adc5f6b

Please sign in to comment.