Skip to content
Snippets Groups Projects
Commit b80f74f6 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1351 from pratik-joshi/CRM-12639-minor-fix-for-state-name-display

CRM-12639-minor-fix-for-state-name-display : state abbreviations were getting displayed instead of state names
parents 95418597 5f3507a5
No related branches found
No related tags found
No related merge requests found
......@@ -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']},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment