From 1d917e76cc2fcacd5493e704057d75a74a74e865 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 4 Jul 2010 15:56:50 +0200 Subject: [PATCH] Fixes platal links on wiki. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/wiki/farmconfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wiki/farmconfig.php b/include/wiki/farmconfig.php index 617ebfb..a4fef9d 100644 --- 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 '' . $text . ''; } -- 2.1.4