31
Support / Re: Admin session issue
« on: January 24, 2014, 05:15:45 PM »
Gordon, I am running the very last version, 1.1.7 ...
<?php
$text1 = $product['description'];
private function truncate($text1, $length) {
$length = abs((int)$length);
if(strlen($text1) > $length) {
$text = preg_replace("/^(.{1,$length})(\s.*|$)/s", '\\1...', $text1);
}
return($text1);
}
?>