From d40be2852ab0bfe34541e0a3f4c99a3ba9e12757 Mon Sep 17 00:00:00 2001 From: swati-karande Date: Fri, 9 Aug 2013 11:46:45 +0530 Subject: [PATCH] Fixed for CRM-13146 --- CRM/Contact/BAO/Contact/Location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Contact/Location.php b/CRM/Contact/BAO/Contact/Location.php index f9e288cef7..205600ec61 100644 --- a/CRM/Contact/BAO/Contact/Location.php +++ b/CRM/Contact/BAO/Contact/Location.php @@ -186,7 +186,7 @@ AND civicrm_contact.id IN $idString "; array($dao->country) ); $location['address'] = addslashes($address); - $location['displayAddress'] = str_replace('
', ', ', $address); + $location['displayAddress'] = str_replace('
', ', ', addslashes($address)); $location['url'] = CRM_Utils_System::url('civicrm/contact/view', 'reset=1&cid=' . $dao->contact_id); $location['location_type'] = $dao->location_type; $location['image'] = CRM_Contact_BAO_Contact_Utils::getImage(isset($dao->contact_sub_type) ? -- 2.25.1