Fix : issue when using unicode with substr
This commit is contained in:
parent
545e41927b
commit
9347b18fa9
5 changed files with 6 additions and 5 deletions
|
|
@ -564,7 +564,7 @@ switch ($action) {
|
|||
break;
|
||||
case 'note_refresh':
|
||||
$acc_operation_note= Acc_Operation_Note::build_jrn_id($jr_id);
|
||||
echo substr($acc_operation_note->getNote()??"",0,120);
|
||||
echo mb_substr($acc_operation_note->getNote()??"",0,120);
|
||||
|
||||
return;
|
||||
case "rmsup":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue