- Same fix

This commit is contained in:
vSchoener
2011-10-20 09:14:19 +00:00
parent a213b92f27
commit 54b1c7ff64
+2 -2
View File
@@ -441,7 +441,7 @@ class OrderDetailCore extends ObjectModel
* @param array $product * @param array $product
* @param int $id_order_status * @param int $id_order_status
*/ */
protected function _create(Order $order, Cart $cart, $product, $id_order_state) protected function create(Order $order, Cart $cart, $product, $id_order_state)
{ {
$this->tax_calculator = new TaxCalculator(); $this->tax_calculator = new TaxCalculator();
@@ -492,7 +492,7 @@ class OrderDetailCore extends ObjectModel
$this->outOfStock = false; $this->outOfStock = false;
foreach ($products as $product) foreach ($products as $product)
$this->_create($order, $cart, $product, $id_order_state); $this->create($order, $cart, $product, $id_order_state);
unset($this->vat_address); unset($this->vat_address);
unset($products); unset($products);