mirror of https://github.com/itflow-org/itflow
Limit Initials to only 2 characters so it doesnt cause Graphic distorions when displaying in a circle
This commit is contained in:
parent
6f37d22ab5
commit
ce11899ecd
|
|
@ -50,6 +50,7 @@ function initials($str) {
|
|||
$ret = '';
|
||||
foreach (explode(' ', $str) as $word)
|
||||
$ret .= strtoupper($word[0]);
|
||||
$ret = substr($ret,0, 2);
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue