Просмотр исходного кода

Remove title from user display name.

Alan Lam 8 лет назад
Родитель
Сommit
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);
 	}