1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Trimmed name last resort

This commit is contained in:
Bajszi
2023-09-11 21:27:15 +02:00
parent 8e3f8de627
commit f997d3e0bb

View File

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