Merge pull request #7529 from rohankatkar/Webtests_Fix_master
[civicrm-core.git] / settings / Localization.setting.php
index f8aca262828bd59ae527cc8e0fb9caed4f038d7b..609e30d866a5994c25e2620ca50ff338899b272f 100644 (file)
@@ -372,7 +372,7 @@ return array(
     'type' => 'Array',
     'quick_form_type' => 'MonthDay',
     'html_type' => 'MonthDay',
-    'default' => ',',
+    'default' => array('M' => 1, 'd' => 1),
     'title' => 'Fiscal Year Start',
     'description' => '',
   ),
@@ -485,6 +485,14 @@ return array(
     'group' => 'localization',
     'name' => 'contact_default_language',
     'type' => 'String',
+    'quick_form_type' => 'Select',
+    'html_type' => 'Select',
+    'html_attributes' => array(
+      'class' => 'crm-select2',
+    ),
+    'pseudoconstant' => array(
+      'callback' => 'CRM_Admin_Form_Setting_Localization::getDefaultLanguageOptions',
+    ),
     'default' => '*default*',
     'add' => '4.7',
     'title' => 'Default Language for contacts',