CRM-16879: Tab with table records showing duplicate data with date data type
authoryashodha <yashodha.chaku@webaccessglobal.com>
Wed, 22 Jul 2015 13:16:04 +0000 (18:46 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Wed, 22 Jul 2015 13:16:04 +0000 (18:46 +0530)
----------------------------------------
* 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

index a5219a729894e0fce64f6a216862903dfd8bed1c..e0bee925f395deaec8b31dcc34a0a9ed79ccd985 100644 (file)
@@ -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: