Fix : issue when using unicode with substr

This commit is contained in:
sparkyx 2026-02-26 08:42:35 +01:00
parent 545e41927b
commit 9347b18fa9
5 changed files with 6 additions and 5 deletions

View file

@ -984,7 +984,7 @@ print $html;
// Note
$r.='<td>';
$r.='<span id="als_note'.$row['jr_id'].'" class="font-small">';
$r.= substr($row['n_text']??"",0,120);
$r.= mb_substr($row['n_text']??"",0,120);
$r.='<span>';
$r.='</span>';
$r.='</td>';