Update actions_massactions.inc.php
This commit is contained in:
parent
226488b7ed
commit
c16cd502d0
@ -604,7 +604,9 @@ if ($massaction == 'confirm_createbills') // Create bills from orders
|
||||
$nb_bills_created = 0;
|
||||
|
||||
$db->begin();
|
||||
$nbOrders = is_array($orders) ? count($orders) : 1;
|
||||
|
||||
$nbOrders = is_array($orders) ? count($orders) : 1;
|
||||
|
||||
foreach ($orders as $id_order)
|
||||
{
|
||||
$cmd = new Commande($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user