From 32bb1fb602c896ff160e3be1012662b6efe7cd73 Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 22 Jul 2015 18:46:04 +0530 Subject: [PATCH] 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 --- CRM/Profile/Page/MultipleRecordFieldsListing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.25.1