typo fix
authorpratikshad <pratiksha.dubey@webaccess.co.in>
Tue, 28 Apr 2015 07:23:59 +0000 (12:53 +0530)
committerpratikshad <pratiksha.dubey@webaccess.co.in>
Tue, 28 Apr 2015 07:24:54 +0000 (12:54 +0530)
CRM/Core/BAO/CustomGroup.php

index df182fd789a163c2b54b6c931a2b9115b4569db2..5fca4318295bd33aba3f86024b1f51611a39d3f5 100644 (file)
@@ -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);
           }
         }