소스 검색

Remove title from user display name.

Alan Lam 8 년 전
부모
커밋
8b12c25e88
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      engine/user.php

+ 1 - 1
engine/user.php

@@ -87,7 +87,7 @@ class User extends Model {
 	}
 
 	public function getDisplayName() {
-		$parts = array_filter([$this->title, $this->first_name, $this->last_name]);
+		$parts = array_filter([$this->first_name, $this->last_name]);
 		return implode(" ", $parts);
 	}