From a3caa0132f103b0c224e8a221038e7c9ebb193d9 Mon Sep 17 00:00:00 2001 From: eileen Date: Sun, 18 Aug 2013 17:18:28 +1200 Subject: [PATCH] CRM-13179 add postal code to address fields on billing pseudoprofile --- api/v3/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Profile.php b/api/v3/Profile.php index 305439aa42..36e9e2fdfc 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -344,7 +344,7 @@ function civicrm_api3_profile_getfields($params) { * interim solution is just to return an empty array */ function _civicrm_api3_profile_getbillingpseudoprofile(&$params) { - $addressFields = array('street_address', 'city', 'state_province_id', 'country_id'); + $addressFields = array('street_address', 'city', 'state_province_id', 'country_id', 'postal_code'); $locations = civicrm_api3('address', 'getoptions', array('field' => 'location_type_id')); $locationTypeID = array_search('Billing', $locations['values']); -- 2.25.1