CRM-13681 : fix for event registration as well as contribution, also consists fixes...
[civicrm-core.git] / CRM / Contribute / Form / ContributionBase.php
index ac425dc9d6c5073f9223868fc21db40f9e35ee93..e92bdf45c1cd341035654df73d3788d05a488ab5 100644 (file)
@@ -284,7 +284,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
 
       // also check for billing informatin
       // get the billing location type
-      $locationTypes = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id');
+      $locationTypes = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id', array(), 'validate');
       // CRM-8108 remove ts around Billing location type
       //$this->_bltID = array_search( ts('Billing'),  $locationTypes );
       $this->_bltID = array_search('Billing', $locationTypes);