mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fix for UTF8 issue
This commit is contained in:
parent
ca3ff553e5
commit
9f5e47cc09
@ -103,7 +103,7 @@ class EntityDatatable
|
|||||||
$str = e($str);
|
$str = e($str);
|
||||||
|
|
||||||
if (strlen($str) > $max) {
|
if (strlen($str) > $max) {
|
||||||
return '<span data-toggle="tooltip" data-placement="bottom" title="' . substr($str, 0, 500) . '">' . trim(substr($str, 0, $max)) . '...' . '</span>';
|
return '<span data-toggle="tooltip" data-placement="bottom" title="' . mb_substr($str, 0, 500) . '">' . trim(mb_substr($str, 0, $max)) . '...' . '</span>';
|
||||||
} else {
|
} else {
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user