Skip to content

Commit ba7a682

Browse files
committed
Use mb_substr.
1 parent 7425d35 commit ba7a682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Html/Column.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ public function renderJs($value, ...$params)
403403
foreach ($params as $param) {
404404
$value .= "'{$param}',";
405405
}
406-
$value = substr($value, 0, strlen($value) - 1);
406+
$value = mb_substr($value, 0, - 1);
407407
$value .= ')';
408408
}
409409

0 commit comments

Comments
 (0)