From: yashodha Date: Wed, 22 Jul 2015 13:16:04 +0000 (+0530) Subject: CRM-16879: Tab with table records showing duplicate data with date data type X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=32bb1fb602c896ff160e3be1012662b6efe7cd73;p=civicrm-core.git CRM-16879: Tab with table records showing duplicate data with date data type ---------------------------------------- * CRM-16879: Tab with table records showing duplicate data with date data type https://issues.civicrm.org/jira/browse/CRM-16879 --- diff --git a/CRM/Profile/Page/MultipleRecordFieldsListing.php b/CRM/Profile/Page/MultipleRecordFieldsListing.php index a5219a7298..e0bee925f3 100644 --- a/CRM/Profile/Page/MultipleRecordFieldsListing.php +++ b/CRM/Profile/Page/MultipleRecordFieldsListing.php @@ -308,11 +308,11 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic { //set date and time format switch ($timeFormat) { case 1: - $dateFormat[] = 'g:iA'; + $dateFormat[1] = 'g:iA'; break; case 2: - $dateFormat[] = 'G:i'; + $dateFormat[1] = 'G:i'; break; default: