mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-27 06:01:54 +03:00
Trimmed name last resort
This commit is contained in:
@ -345,7 +345,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||
return $splitName[0];
|
||||
}
|
||||
|
||||
return '';
|
||||
return mb_substr($this->name, 0, $chars) . '..';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user