Commit 1278e52c authored by Antonio.Suerte's avatar Antonio.Suerte

Adding Last Name to Corp Account Profile

parent cfe98c51
...@@ -771,7 +771,11 @@ class SettingModelClass extends ModelClassEx { ...@@ -771,7 +771,11 @@ class SettingModelClass extends ModelClassEx {
* @return : 名 * @return : 名
-------------------------------------------------------------------------*/ -------------------------------------------------------------------------*/
public function echoFirstName() { public function echoFirstName() {
echo $this -> firstName; if($this -> getColumnData($this -> user, COLUMN_ACCOUNT_TYPE) == VAR_CORP){
echo $this -> firstName.' '.$this -> lastName;
}else{
echo $this -> firstName;
}
} }
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment