From 45e5c8726104897d586d49b4cc971f555bc6837a Mon Sep 17 00:00:00 2001 From: Dave Jenkins Date: Tue, 17 May 2016 16:48:54 +0100 Subject: [PATCH] CRM-18567 - stristr was called with arguments in wrong order, causing $subTypes not to be exploded correctly when comma-separated. --- CRM/Core/BAO/CustomGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index 0d76d4672f..aa9ca1f828 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -363,7 +363,7 @@ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup { $subTypes = array(); } else { - if (stristr(',', $subTypes)) { + if (stristr($subTypes, ',')) { $subTypes = explode(',', $subTypes); } else { -- 2.25.1