CRM-18567 - stristr was called with arguments in wrong order, causing $subTypes not...
authorDave Jenkins <davej+git@circle-interactive.co.uk>
Tue, 17 May 2016 15:48:54 +0000 (16:48 +0100)
committerDave Jenkins <davej+git@circle-interactive.co.uk>
Tue, 17 May 2016 15:48:54 +0000 (16:48 +0100)
CRM/Core/BAO/CustomGroup.php

index 0d76d4672fdb8b17e2f852c3398e7ad44919592d..aa9ca1f8287739f902a20eee5f0268bc85f085fa 100644 (file)
@@ -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 {