no message
This commit is contained in:
parent
80ad02bd80
commit
01b4dee6cf
@ -270,6 +270,11 @@ class Dog extends Mod\Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function subStr($input) {
|
private function subStr($input) {
|
||||||
|
|
||||||
|
if (!$input) {
|
||||||
|
return $input;
|
||||||
|
}
|
||||||
|
|
||||||
if (mb_strlen($input, 'UTF-8') > (int) $this->iStrMaxLen) {
|
if (mb_strlen($input, 'UTF-8') > (int) $this->iStrMaxLen) {
|
||||||
|
|
||||||
return mb_substr($input, 0, (int) $this->iStrMaxLen, 'UTF-8')."……";
|
return mb_substr($input, 0, (int) $this->iStrMaxLen, 'UTF-8')."……";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user