From a8d8984fc9b714a8e360d2058f8f34f10fe0480b Mon Sep 17 00:00:00 2001 From: monishdeb Date: Tue, 15 Dec 2015 11:15:28 +0530 Subject: [PATCH] minor fix --- CRM/Contact/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 021f5917e6..4506a19ffa 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -5923,7 +5923,7 @@ AND displayRelType.is_active = 1 $value = CRM_Utils_Array::value($element, $formValues); if ($value) { if (is_array($value)) { - if (in_array($element, $changeNames)) { + if (in_array($element, array_keys($changeNames))) { unset($formValues[$element]); $element = $changeNames[$element]; } -- 2.25.1