From 0742f8433c1afb051b1479775d1a9f9e40e0ecfc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 29 Apr 2014 10:39:07 -0700 Subject: [PATCH] fix invalid php count statement (identified by IDE - unsure if it was causing bug --- 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 99cbce1b29..3bc84cdb6a 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -618,7 +618,7 @@ class CRM_Contact_BAO_Query { // if this is a hierarchical name, we ignore it $names = explode('-', $name); - if (count($names > 1) && isset($names[1]) && is_numeric($names[1])) { + if (count($names) > 1 && isset($names[1]) && is_numeric($names[1])) { continue; } -- 2.25.1