Commit 7ff4f487 authored by generalredneck's avatar generalredneck

Issue #2916478 by karivolas, generalredneck: views_natural_sort_store thows...

Issue #2916478 by karivolas, generalredneck: views_natural_sort_store thows exception on long unicode node titles
parent 9e8d79c2
......@@ -64,7 +64,7 @@ class IndexRecord {
foreach ($this->transformations as $transformation) {
$transformed_content = $transformation->transform($transformed_content);
}
return substr($transformed_content, 0, 255);
return mb_substr($transformed_content, 0, 255);
}
private function generateType() {
$this->type = new IndexRecordType($this->entityType, $this->field);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment