Skip to content

Commit cca4fef

Browse files
committed
correct truncate (again)
1 parent ba47e90 commit cca4fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/sampledata/blog/blog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ public function onAjaxSampledataApplyStep2()
333333
);
334334

335335
// Calculate menutype. The number of characters allowed is 24.
336-
$type = JHtmlString::truncate($menu['title'], 23, true, false);
336+
$type = JHtml::_('string.truncate', $menu['title'], 23, true, false);
337337

338338
$menu['menutype'] = $i . $type;
339339

0 commit comments

Comments
 (0)