projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af3d50
)
fix CRM-12007
author
Donald A. Lobo
<lobo@civicrm.org>
Mon, 4 Mar 2013 16:43:42 +0000
(08:43 -0800)
committer
Donald A. Lobo
<lobo@civicrm.org>
Mon, 4 Mar 2013 16:43:42 +0000
(08:43 -0800)
CRM/Core/Config/Variables.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Config/Variables.php
b/CRM/Core/Config/Variables.php
index 7bf59da8afd36f6d32e2a5fba084642721ff1122..f92f643c08572604341d38537f7ffb7af299d819 100644
(file)
--- a/
CRM/Core/Config/Variables.php
+++ b/
CRM/Core/Config/Variables.php
@@
-544,7
+544,12
@@
class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
$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 {