Skip to content

Commit

Permalink
Merge pull request #26 from dlobo/CRM-12007
Browse files Browse the repository at this point in the history
fix CRM-12007
  • Loading branch information
totten committed Mar 5, 2013
2 parents 47d1e8b + ebafea1 commit 1e53d8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CRM/Core/Config/Variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,12 @@ public function countryLimit() {
$country = array();
if (is_array($this->countryLimit)) {
foreach ($this->countryLimit 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 {
Expand Down

0 comments on commit 1e53d8e

Please sign in to comment.