Here's what I have and it works fine.
PHP Code:
$forum['lasttitle']=unhtmlspecialchars($forum['lasttitle']);
if (strlen($forum['lasttitle']) > 30) {
$forum['lasttitle'] = substr($forum['lasttitle'], 0, 28);
$forum['lasttitle'] .= '..';
}
Quote:
Originally posted by Austin Dea
I had my sizs all set and it was working fine but I upgraded to 2.2.6 and now I can't get the sizes to work at all.
PHP Code:
$forum['lasttitle']=unhtmlspecialchars($forum['lasttitle']);
if (strlen($forum['lasttitle']) > 20) {
$forum['lasttitle'] = substr($forum['lasttitle'], 0, 17);
$forum['lasttitle'] .= '...';
}
Is it something to do with the new php version o_O...
|