From: Pratik Joshi Date: Tue, 6 Aug 2013 14:48:14 +0000 (+0530) Subject: CRM-12639-minor-fix-for-state-name-display : state abbreviations were getting display... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5f3507a5a3c0561eec759a1b90d19b30587dcd55;p=civicrm-core.git CRM-12639-minor-fix-for-state-name-display : state abbreviations were getting displayed instead of state names --- diff --git a/CRM/Contact/Selector.php b/CRM/Contact/Selector.php index f315bb2edc..90f9c3e41a 100644 --- a/CRM/Contact/Selector.php +++ b/CRM/Contact/Selector.php @@ -660,6 +660,9 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se $greeting = $property . '_display'; $row[$property] = $result->$greeting; } + elseif ($property == 'state_province') { + $row[$property] = $result->state_province_name; + } elseif (isset($pseudoconstants[$property])) { $row[$property] = CRM_Utils_Array::value( $result->{$pseudoconstants[$property]['dbName']},