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:
2f1714c
)
worked on CRM-12238, fixed fatal when search contacts after selecting only state...
author
Kurund Jalmi
<kurund@civicrm.org>
Wed, 3 Apr 2013 17:07:07 +0000
(18:07 +0100)
committer
Kurund Jalmi
<kurund@civicrm.org>
Wed, 3 Apr 2013 17:07:07 +0000
(18:07 +0100)
CRM/Contact/Form/Search/Criteria.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/Search/Criteria.php
b/CRM/Contact/Form/Search/Criteria.php
index 9819c322aa650cddbd9aaeb853a2fb13ddd29935..888d5c8ac745e7a2a0727d067fd8573c60fa27ac 100644
(file)
--- a/
CRM/Contact/Form/Search/Criteria.php
+++ b/
CRM/Contact/Form/Search/Criteria.php
@@
-323,7
+323,7
@@
class CRM_Contact_Form_Search_Criteria {
'county' => 'county',
);
if ($select == 'stateProvince') {
- if (
isset($formValues['country']
)) {
+ if (
CRM_Utils_Array::value('country', $formValues
)) {
$selectElements = array('' => ts('- select -')) + CRM_Core_PseudoConstant::stateProvinceForCountry($formValues['country']);
}
else {