CRM-14077 - contact/address - county field should populate with counties not countries
authorJamie McClelland <jm@mayfirst.org>
Wed, 15 Jan 2014 16:34:12 +0000 (11:34 -0500)
committerJamie McClelland <jm@mayfirst.org>
Wed, 15 Jan 2014 16:34:12 +0000 (11:34 -0500)
----------------------------------------
* CRM-14077: County drop down is populated with countries instead
  http://issues.civicrm.org/jira/browse/CRM-14077

CRM/Contact/Form/Edit/Address.php

index 6ec4d9143f090a434a02ce06a9395d48b0903e54..218f7bc755e803fb25bc5c9f5a06406718a73c58 100644 (file)
@@ -468,7 +468,7 @@ class CRM_Contact_Form_Edit_Address {
         $counties = CRM_Core_PseudoConstant::countyForState($stateID);
       }
       else {
-        $counties = CRM_Core_PseudoConstant::country();
+        $counties = CRM_Core_PseudoConstant::county();
       }
 
       $form->addElement('select', $countyElementName, ts('County'), array('' => ts('- select -')) + $counties);