Changed abbr name to initial firstname and full lastname
This commit is contained in:
@@ -120,11 +120,12 @@ class User extends mfBaseModel {
|
||||
|
||||
//var_dump($m);exit;
|
||||
|
||||
$abbr = "$firstname ";
|
||||
$abbr = substr($firstname, 0, 1). ". ";
|
||||
if($middlename) {
|
||||
$abbr .= substr($middlename, 0, 1). ". ";
|
||||
}
|
||||
$abbr .= substr($lastname, 0, 1). ". ";
|
||||
$abbr .= $lastname;
|
||||
|
||||
return $abbr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user