From 5f80762f3663b841946a10cf83c32e9d24691d59 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Tue, 3 Mar 2015 15:55:00 +0530 Subject: [PATCH] CRM-16009 fix - URL for Contact Image in View incorrectly generating https://issues.civicrm.org/jira/browse/CRM-16009 --- CRM/Core/BAO/UFGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/UFGroup.php b/CRM/Core/BAO/UFGroup.php index 0264d2f449..47e362e148 100644 --- a/CRM/Core/BAO/UFGroup.php +++ b/CRM/Core/BAO/UFGroup.php @@ -1932,7 +1932,7 @@ AND ( entity_id IS NULL OR entity_id <= 0 ) 'membership_end_date', 'join_date', ))) { - $form->addDate($name, $title, $required, array('formatType' => 'custom')); + $form->addDate($name, $title, $required, array('formatType' => 'activityDate')); } elseif (CRM_Utils_Array::value('name', $field) == 'membership_type') { list($orgInfo, $types) = CRM_Member_BAO_MembershipType::getMembershipTypeInfo(); -- 2.25.1