Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F847775
D104.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, Apr 19, 5:40 PM
Size
623 B
Mime Type
text/x-diff
Expires
Sun, Apr 20, 5:40 PM (15 m, 17 s)
Engine
blob
Format
Raw Data
Handle
602567
Attached To
D104: MINC-131 - Reserve quantities from all orders, when doing multi-order saving
D104.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