From 48b7f669d50dff78d26a3d5c6b0816dbf981753a Mon Sep 17 00:00:00 2001 From: Christian Wach Date: Wed, 21 Aug 2019 15:35:09 +0100 Subject: [PATCH] Fix recursion in crmInArray() --- CRM/Utils/Array.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Array.php b/CRM/Utils/Array.php index 4cda076ea3..7dd32cd4be 100644 --- a/CRM/Utils/Array.php +++ b/CRM/Utils/Array.php @@ -375,7 +375,7 @@ class CRM_Utils_Array { public static function crmInArray($value, $params, $caseInsensitive = TRUE) { foreach ($params as $item) { if (is_array($item)) { - $ret = crmInArray($value, $item, $caseInsensitive); + $ret = self::crmInArray($value, $item, $caseInsensitive); } else { $ret = ($caseInsensitive) ? strtolower($item) == strtolower($value) : $item == $value; -- 2.25.1