Merge pull request #19252 from hregis/fix_totalarray_is_overwritten
FIX $totalarray is overwritten, totals were lost
This commit is contained in:
commit
6054e23b4d
@ -195,6 +195,7 @@ $now = dol_now();
|
||||
$help_url = 'EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
$title = $langs->trans("ListOfWarehouses");
|
||||
|
||||
$totalarray = array();
|
||||
|
||||
// Build and execute select
|
||||
// --------------------------------------------------------------------
|
||||
@ -566,7 +567,6 @@ print '</tr>'."\n";
|
||||
// Loop on record
|
||||
// --------------------------------------------------------------------
|
||||
$i = 0;
|
||||
$totalarray = array();
|
||||
|
||||
$warehouse = new Entrepot($db);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user