Page MenuHomeIn-Portal Phabricator

D104.id244.diff
No OneTemporary

File Metadata

Created
Tue, Oct 7, 4:22 AM

D104.id244.diff

Index: modules/in-commerce/units/orders/orders_event_handler.php
===================================================================
--- modules/in-commerce/units/orders/orders_event_handler.php
+++ modules/in-commerce/units/orders/orders_event_handler.php
@@ -3806,6 +3806,8 @@
}
foreach ( $this->trackCopiedOrderIDs($event) as $id ) {
+ $this->Application->removeObject($event->getPrefixSpecial());
+
$an_event = new kEvent($this->Prefix . ':Dummy');
$this->Application->SetVar($this->Prefix . '_id', $id);
$this->Application->SetVar($this->Prefix . '_mode', ''); // this is to fool ReserveItems to use live table

Event Timeline