projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf36cd
)
Fixes name printing function.
author
Stéphane Jacob
<sj@m4x.org>
Tue, 2 Mar 2010 19:33:51 +0000
(20:33 +0100)
committer
Sté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
patch
|
blob
|
blame
|
history
diff --git
a/classes/profile.php
b/classes/profile.php
index
1e69288
..
f8d2781
100644
(file)
--- 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->first
Name(), $this->lastName()
,
+ $this->full
Name(), $this->shortName()
,
+ $this->promo
()
), $format);
}
public function fullName($with_promo = false)