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:
0b58584
)
modify check to 0 or 1
author
Jitendra Purohit
<jitendra@fuzion.co.nz>
Thu, 31 Aug 2017 08:32:08 +0000
(14:02 +0530)
committer
Jitendra Purohit
<jitendra@fuzion.co.nz>
Thu, 31 Aug 2017 08:35:55 +0000
(14:05 +0530)
CRM/Member/Form/Search.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Member/Form/Search.php
b/CRM/Member/Form/Search.php
index 078e6b3848785a5ba0a076a6ae66814b01277909..e21293931a3b337512bf6f77fb317405da8322f5 100644
(file)
--- a/
CRM/Member/Form/Search.php
+++ b/
CRM/Member/Form/Search.php
@@
-353,7
+353,7
@@
class CRM_Member_Form_Search extends CRM_Core_Form_Search {
//LCD also allow restrictions to membership owner via GET
$owner = CRM_Utils_Request::retrieve('owner', 'String');
- if (
!is_null($owner
)) {
+ if (
in_array($owner, array('0', '1')
)) {
$this->_formValues['member_is_primary'] = $this->_defaults['member_is_primary'] = $owner;
}
}