Merge pull request #20107 from henrynopo/patch-2

Fix bug - List of supplier order - to show total line
This commit is contained in:
Laurent Destailleur 2022-02-18 20:42:30 +01:00 committed by GitHub
commit 72df61b175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1274,9 +1274,7 @@ if ($resql) {
$projectstatic = new Project($db);
$i = 0;
$totalarray = array();
$totalarray['nbfield'] = 0;
$totalarray['val'] = array();
$totalarray = array('nbfield' => 0, 'val' => array(), 'pos' => array());
$totalarray['val']['cf.total_ht'] = 0;
$totalarray['val']['cf.total_ttc'] = 0;
while ($i < min($num, $limit)) {