Преглед изворни кода

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);
 	}