From: Florent Bruneau Date: Thu, 3 Jun 2010 16:40:32 +0000 (+0200) Subject: Fix addresses in user profiles. Closes #1061 X-Git-Tag: xorg/1.0.0~195 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=439d5e1b7b401be0a8efdeae97db3078d42ff8ca;p=platal.git Fix addresses in user profiles. Closes #1061 Signed-off-by: Florent Bruneau --- diff --git a/plugins/function.display_address.php b/plugins/function.display_address.php index 28c6c4f..32cf19c 100644 --- a/plugins/function.display_address.php +++ b/plugins/function.display_address.php @@ -60,7 +60,7 @@ function smarty_function_display_address($param, &$smarty) . urlencode(implode(", ", $lines) . " ($idt)") . "\">\"Google"; $comment = ""; - if ($param['adr']['comment'] != "") + if ($adr->comment != "") { $commentHtml = str_replace(array('&', '"'), array('&', '"'), $adr->comment); $commentJs = str_replace(array('\\', '\''), array('\\\\', '\\\''), $commentHtml);