fixed ; bug

master
pecesama 2008-10-26 19:28:49 +00:00
parent b060b0becb
commit 1af72e38d3
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ if(!defined('entry') || !entry) die('Not a valid page');
}
function trimString($string, $len = "") {
$string = strip_tags($string)
$string = strip_tags($string);
$len = (empty($len)) ? "50" : $len ;
return ( strpos($string, " ", $len) ) ? substr_replace($string, "...", $len) : $string ;
}