From: monishdeb Date: Tue, 3 Mar 2015 10:25:00 +0000 (+0530) Subject: CRM-16009 fix - URL for Contact Image in View incorrectly generating X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5f80762f3663b841946a10cf83c32e9d24691d59;p=civicrm-core.git CRM-16009 fix - URL for Contact Image in View incorrectly generating https://issues.civicrm.org/jira/browse/CRM-16009 --- 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();