Fixes name printing function.
authorStéphane Jacob <sj@m4x.org>
Tue, 2 Mar 2010 19:33:51 +0000 (20:33 +0100)
committerStéphane Jacob <sj@m4x.org>
Tue, 2 Mar 2010 21:59:50 +0000 (22:59 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/profile.php

index 1e69288..f8d2781 100644 (file)
@@ -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)