// Small Fix in truncateString function
This commit is contained in:
@@ -1222,11 +1222,6 @@ class ToolsCore
|
|||||||
'ellipsis' => '...', 'exact' => true, 'html' => true
|
'ellipsis' => '...', 'exact' => true, 'html' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isset($options['ending']))
|
|
||||||
$default['ellipsis'] = $options['ending'];
|
|
||||||
elseif (!empty($options['html']) && Configure::read('App.encoding') === 'UTF-8')
|
|
||||||
$default['ellipsis'] = "\xe2\x80\xa6";
|
|
||||||
|
|
||||||
$options = array_merge($default, $options);
|
$options = array_merge($default, $options);
|
||||||
extract($options);
|
extract($options);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user