Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1170240
D104.id340.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 27, 12:33 AM
Size
623 B
Mime Type
text/x-diff
Expires
Sun, Sep 28, 12:33 AM (13 h, 46 m)
Engine
blob
Format
Raw Data
Handle
758068
Attached To
D104: MINC-131 - Reserve quantities from all orders, when doing multi-order saving
D104.id340.diff
View Options
Index: branches/5.2.x/units/orders/orders_event_handler.php
===================================================================
--- branches/5.2.x/units/orders/orders_event_handler.php
+++ branches/5.2.x/units/orders/orders_event_handler.php
@@ -3807,6 +3807,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
Log In to Comment