[-] BO : #PSCFV-3112 - Fix bug with payment by cheque and multishipping

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16294 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-07-09 16:30:12 +00:00
parent 649cb9af43
commit e8b686d928
5 changed files with 94 additions and 25 deletions

View File

@@ -531,7 +531,7 @@ abstract class PaymentModuleCore extends Module
// So you migth have two order states
$new_history = new OrderHistory();
$new_history->id_order = (int)$order->id;
$new_history->changeIdOrderState((int)$id_order_state, (int)$order->id);
$new_history->changeIdOrderState((int)$id_order_state, (int)$order->id, true);
$new_history->addWithemail(true, $extra_vars);
unset($order_detail);