CRM-16009 fix - URL for Contact Image in View incorrectly generating
authormonishdeb <monish.deb@webaccessglobal.com>
Tue, 3 Mar 2015 10:25:00 +0000 (15:55 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Tue, 3 Mar 2015 10:25:00 +0000 (15:55 +0530)
https://issues.civicrm.org/jira/browse/CRM-16009

CRM/Core/BAO/UFGroup.php

index 0264d2f449d4d421f23a8c3f755afd651581d44c..47e362e148129815fdee68293c3055ddd6212cb2 100644 (file)
@@ -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();