From 024dc6c09817da701cff275a29d41ae2d4d777e9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 14 Jun 2008 23:02:02 -0400 Subject: email notification on new subscriptions darcs-hash:20080615030202-84dde-ebed7919c227ce280dc818f301e15001eb8b5926.gz --- classes/Profile.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'classes/Profile.php') 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; + } } -- cgit v1.2.3-54-g00ecf