Skip to content

Commit

Permalink
fix #29740 : fix bad usage of string array (#29763)
Browse files Browse the repository at this point in the history
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
  • Loading branch information
Hystepik and Hystepik authored May 28, 2024
1 parent 49ef7cd commit 727a502
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 727a502

Please sign in to comment.