mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for UTF8 issue
This commit is contained in:
parent
ca3ff553e5
commit
9f5e47cc09
@ -103,7 +103,7 @@ class EntityDatatable
|
||||
$str = e($str);
|
||||
|
||||
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 {
|
||||
return $str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user