mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-17 10:12:51 +08:00
Trimmed name last resort
This commit is contained in:
parent
8e3f8de627
commit
f997d3e0bb
|
@ -345,7 +345,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
|||
return $splitName[0];
|
||||
}
|
||||
|
||||
return '';
|
||||
return mb_substr($this->name, 0, $chars) . '..';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user