From faf75faf68e64cca37cc2ad1d4957d278e192365 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Tue, 2 Mar 2010 20:33:51 +0100 Subject: [PATCH] Fixes name printing function. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- classes/profile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/profile.php b/classes/profile.php index 1e69288..f8d2781 100644 --- a/classes/profile.php +++ b/classes/profile.php @@ -130,9 +130,9 @@ class Profile { return str_replace(array('%s', '%f', '%l', '%F', '%S', '%p'), array($this->isFemale() ? '•' : '', - $this->first_name, $this->last_name, - $this->full_name, $this->short_name, - $this->promo), $format); + $this->firstName(), $this->lastName(), + $this->fullName(), $this->shortName(), + $this->promo()), $format); } public function fullName($with_promo = false) -- 2.1.4