1
0
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:
Hillel Coren 2018-03-13 16:14:35 +02:00
parent ca3ff553e5
commit 9f5e47cc09

View File

@ -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;
}