CRM-16096 - Fix separator character in contact_type selectValues
authorColeman Watts <coleman@civicrm.org>
Thu, 12 Mar 2015 21:00:23 +0000 (17:00 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 12 Mar 2015 21:00:23 +0000 (17:00 -0400)
CRM/Contact/BAO/ContactType.php

index 77657dd27cc10d5ff70ebe3c4db3357008ef5c76..60f28d8d8533a96c64126e0a87241d4cd9560f40 100644 (file)
@@ -391,6 +391,7 @@ WHERE  type.name IS NOT NULL
 
     $argString = $all ? 'CRM_CT_GSE_1' : 'CRM_CT_GSE_0';
     $argString .= $isSeparator ? '_1' : '_0';
+    $argString .= $separator;
     if (!array_key_exists($argString, $_cache)) {
       $cache = CRM_Utils_Cache::singleton();
       $_cache[$argString] = $cache->get($argString);