|
@@ -14,6 +14,7 @@ class Pro extends Model
|
|
|
|
|
|
public function displayName() {
|
|
public function displayName() {
|
|
$name = [];
|
|
$name = [];
|
|
|
|
+ if(!empty($this->name_display)) return $this->name_display;
|
|
if(!empty($this->name_last)) $name[] = $this->name_last;
|
|
if(!empty($this->name_last)) $name[] = $this->name_last;
|
|
if(!empty($this->name_first)) $name[] = $this->name_first;
|
|
if(!empty($this->name_first)) $name[] = $this->name_first;
|
|
if(!count($name)) {
|
|
if(!count($name)) {
|