diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Profile.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index b7bd2a2d9..5a45d4397 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -133,4 +133,8 @@ class Profile extends DB_DataObject } return true; } + + function getBestName() { + return ($this->fullname) ? $this->fullname : $this->nickname; + } } |