Skip to content
Permalink
Browse files

Merge pull request #2697 from lopes-vincent/master

Fix missing event in isStockManagedOnOrderCreation
  • Loading branch information...
lopes-vincent committed Oct 10, 2019
2 parents 7ebcb5f + 63ca70f commit f1b0497f1beb5fcaeabf838ddfc0120dd9ecd7c5
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/lib/Thelia/Model/Order.php
@@ -428,7 +428,8 @@ public function isStockManagedOnOrderCreation(EventDispatcherInterface $dispatch
TheliaEvents::getModuleEvent(
TheliaEvents::MODULE_PAYMENT_MANAGE_STOCK,
$paymentModule->getCode()
)
),
$event
);
return (null !== $event->getManageStock())

0 comments on commit f1b0497

Please sign in to comment.
You can’t perform that action at this time.