From fc41a01686a9bef9dbff05b50abd1ccc274b1507 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 6 Sep 2012 09:21:04 +0000 Subject: [PATCH] // Small fix git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17207 b9a71923-0436-4b27-9f14-aed3839534dd --- 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();