1
Hi...
I find a minor bug in the include/functions.php in function xoops_substr.
When I edit a user multiple times, this function put '...' each time I save the user profile.
The best fix I can find for it:
include/functions.php
line: 575
change this:
Quote:
return substr($str, $start, $length - strlen($trimmarker)).$trimmarker;
to this:
Quote:
if (substr($str, strlen($str), -3) == '...') {
return $str;
} else {
return substr($str, $start, $length - strlen($trimmarker)).$trimmarker;
}
tkz...