From dc1753736c2b9e84d78a9b65c7dd40f9d4d20d5d Mon Sep 17 00:00:00 2001 From: pratikshad Date: Tue, 28 Apr 2015 12:53:59 +0530 Subject: [PATCH] typo fix --- CRM/Core/BAO/CustomGroup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index df182fd789..5fca431829 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -1986,7 +1986,7 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1, if ($format = CRM_Utils_Array::value('date_format', $field)) { if (array_key_exists($format, $actualPHPFormats)) { - $customTimeFormat = (array)CRM_Utils_Array::value($format, $actualPHPFormats); + $customTimeFormat = (array) CRM_Utils_Array::value($format, $actualPHPFormats); switch ($timeFormat) { case 1: $customTimeFormat[] = 'g:iA'; @@ -1999,7 +1999,7 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1, default: // if time is not selected remove time from value $value = substr($value, 0, 10); - } + } $customFormat = implode(" ", $customTimeFormat); } } -- 2.25.1