From 17712393c08793e5b5b42a729dbf0ffeaa74a528 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 23 Jun 2014 13:30:50 -0700 Subject: [PATCH] CRM-14906 - notice fix on IS (NOT) EMPTY searches. ---------------------------------------- * CRM-14906: https://issues.civicrm.org/jira/browse/CRM-14906 --- 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 00ced63b9e..af75015cd3 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -5364,7 +5364,7 @@ AND displayRelType.is_active = 1 $useIDsOnly = FALSE ) { - if (!empty($selectValues)) { + if (!empty($selectValues) && !empty($selectValues[$value])) { $qill = $selectValues[$value]; } else { -- 2.25.1