Completed
Push — master ( aa83e2...f8f77e )
by Jason
22:25 queued 07:26
created
code/objects/Order.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,9 @@
 block discarded – undo
211 211
 
212 212
                         // if product is found, set relation to OrderDetail
213 213
                         $OrderProduct = ProductPage::get()->byID((int) $option->product_option_value);
214
-                        if ($OrderProduct) $OrderDetail->ProductID = $OrderProduct->ID;
214
+                        if ($OrderProduct) {
215
+                            $OrderDetail->ProductID = $OrderProduct->ID;
216
+                        }
215 217
 
216 218
                     } else {
217 219
 
Please login to merge, or discard this patch.