From: Stéphane Jacob Date: Tue, 2 Mar 2010 19:33:51 +0000 (+0100) Subject: Fixes name printing function. X-Git-Tag: xorg/1.0.0~332^2~120 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=faf75faf68e64cca37cc2ad1d4957d278e192365;p=platal.git Fixes name printing function. Signed-off-by: Stéphane Jacob --- 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)