Update actions_massactions.inc.php

This commit is contained in:
Laurent Destailleur 2022-07-10 18:43:25 +02:00 committed by GitHub
parent 226488b7ed
commit c16cd502d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);