From 644042dba595017eeb4d8cf6c4de96a8b2d26a9c Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 6 Sep 2012 09:21:04 +0000 Subject: [PATCH] // Small fix --- controllers/admin/AdminOrdersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminOrdersController.php b/controllers/admin/AdminOrdersController.php index be61efb53..9c5e6f41a 100755 --- a/controllers/admin/AdminOrdersController.php +++ b/controllers/admin/AdminOrdersController.php @@ -342,7 +342,7 @@ class AdminOrdersControllerCore extends AdminController $use_existings_payment = false; if (!$order->hasInvoice()) $use_existings_payment = true; - $history->changeIdOrderState($order_state->id, $order->id, true); + $history->changeIdOrderState($order_state->id, $order->id, $use_existings_payment); $carrier = new Carrier($order->id_carrier, $order->id_lang); $templateVars = array();