From ecd661b31bc5a18a5e2b830f5d5c109e15a2f0b9 Mon Sep 17 00:00:00 2001 From: bMancone Date: Mon, 16 Jan 2012 12:57:15 +0000 Subject: [PATCH] // Fixed norm --- classes/order/OrderHistory.php | 1 - 1 file changed, 1 deletion(-) diff --git a/classes/order/OrderHistory.php b/classes/order/OrderHistory.php index b210bc2e3..cf793e987 100644 --- a/classes/order/OrderHistory.php +++ b/classes/order/OrderHistory.php @@ -125,7 +125,6 @@ class OrderHistoryCore extends ObjectModel // if waiting for payment => payment error/canceled else if (!$new_os->logable && !$old_os->logable && ($new_os->id == Configuration::get('PS_OS_ERROR') || $new_os->id == Configuration::get('PS_OS_CANCELED'))) - StockAvailable::updateQuantity($product['product_id'], $product['product_attribute_id'], (int)$product['product_quantity'], $order->id_shop); // @since 1.5.0 : if the order is being shipped and this products uses the advanced stock management : // decrements the physical stock using $id_warehouse