From: Stéphane Jacob Date: Sun, 4 Jul 2010 13:56:50 +0000 (+0200) Subject: Fixes platal links on wiki. X-Git-Tag: xorg/1.0.1~15^2~59 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1d917e76cc2fcacd5493e704057d75a74a74e865;hp=973c5ff21e1f039e517e4d10ab83196f7ddb5509;p=platal.git Fixes platal links on wiki. Signed-off-by: Stéphane Jacob --- 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 . ''; }