Merge pull request #29151 from defrance/patch-328
totalarray must not reinit here
This commit is contained in:
commit
97ae448f0e
1 changed files with 1 additions and 1 deletions
|
|
@ -1127,7 +1127,7 @@ if (getDolGlobalString('PROJECT_TIMES_SPENT_FORMAT')) {
|
|||
// --------------------------------------------------------------------
|
||||
$i = 0;
|
||||
$savnbfield = $totalarray['nbfield'];
|
||||
$totalarray = array();
|
||||
|
||||
$totalarray['nbfield'] = 0;
|
||||
$imaxinloop = ($limit ? min($num, $limit) : $num);
|
||||
while ($i < $imaxinloop) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue