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

Merge pull request #1958 from sadashivdalvi/4.4

Fix for Undefined index: 1151 in CRM_Core_Config_Variables->countryLimit...
parents bcdfe0c9 78eab63c
Branches
Tags
No related merge requests found
......@@ -585,7 +585,12 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
$country = array();
if (is_array($this->provinceLimit)) {
foreach ($this->provinceLimit as $val) {
$country[] = $countryIsoCodes[$val];
// CRM-12007
// some countries have disappeared and hence they might be in country limit
// but not in the country table
if (isset($countryIsoCodes[$val])) {
$country[] = $countryIsoCodes[$val];
}
}
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment