Skip to content

Commit

Permalink
fix Dolibarr#29740 : fix bad usage of string array
Browse files Browse the repository at this point in the history
  • Loading branch information
Hystepik committed May 27, 2024
1 parent 683c11e commit 49a25d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/compta/stats/casoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@
$name[$obj->socid] = $obj->name;
$address_zip[$obj->socid] = '';
$address_town[$obj->socid] = '';
$address_pays[$obj->socid] = 0;
$address_pays[$obj->socid] = '';

$catotal += $obj->amount_ttc;

Expand Down Expand Up @@ -635,15 +635,15 @@
print '<td class="tdoverflowmax150">'.$linkname."</td>\n";

print '<td>';
print $address_pays($address_zip[$key]);
print $address_zip[$key];
print '</td>';

print '<td class="tdoverflowmax150" title="'.dol_escape_htmltag($address_town[$key]).'">';
print $address_pays($address_town[$key]);
print $address_town[$key];
print '</td>';

print '<td class="tdoverflowmax150" title="'.dol_escape_htmltag($address_pays[$key]).'">';
print $address_pays($address_pays[$key]);
print $address_pays[$key];
print '</td>';

// Amount w/o VAT
Expand Down

0 comments on commit 49a25d4

Please sign in to comment.