projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973c5ff
)
Fixes platal links on wiki.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 4 Jul 2010 13:56:50 +0000
(15:56 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 4 Jul 2010 13:57:10 +0000
(15:57 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/wiki/farmconfig.php
patch
|
blob
|
blame
|
history
diff --git
a/include/wiki/farmconfig.php
b/include/wiki/farmconfig.php
index
617ebfb
..
a4fef9d
100644
(file)
--- a/
include/wiki/farmconfig.php
+++ b/
include/wiki/farmconfig.php
@@
-97,8
+97,8
@@
function doBicol($column=false)
function doPlatalLink($link, $text)
{
if (strlen(trim($text)) == 0) {
- $
user = User
::get($link);
- $text = $
user
->fullName();
+ $
profile = Profile
::get($link);
+ $text = $
profile
->fullName();
}
return '<a href="profile/' . $link . '" class="popup2">' . $text . '</a>';
}