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