1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-12-23 23:02:08 +03:00

Truncate with three dots

This commit is contained in:
Bajszi
2023-09-12 17:03:57 +02:00
parent f997d3e0bb
commit f4deb13301

View File

@@ -345,7 +345,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
return $splitName[0];
}
return mb_substr($this->name, 0, $chars) . '..';
return mb_substr($this->name, 0, $chars-3) . '';
}
/**