From 439d5e1b7b401be0a8efdeae97db3078d42ff8ca Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Thu, 3 Jun 2010 18:40:32 +0200 Subject: [PATCH] Fix addresses in user profiles. Closes #1061 Signed-off-by: Florent Bruneau --- plugins/function.display_address.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.1.4