projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51cd6db
)
CRM_Contact_BAO_ContactType - Use PSR-16 compliant cache key
author
Tim Otten
<totten@civicrm.org>
Mon, 25 Jun 2018 23:19:41 +0000
(16:19 -0700)
committer
Tim Otten
<totten@civicrm.org>
Wed, 27 Jun 2018 18:13:56 +0000
(11:13 -0700)
CRM/Contact/BAO/ContactType.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/ContactType.php
b/CRM/Contact/BAO/ContactType.php
index a299e9e59115790e58d3211a55e89f39fa009794..cb13346f556a1bd91fa98d7b7010b056757c2b17 100644
(file)
--- a/
CRM/Contact/BAO/ContactType.php
+++ b/
CRM/Contact/BAO/ContactType.php
@@
-387,6
+387,7
@@
WHERE type.name IS NOT NULL
$argString = $all ? 'CRM_CT_GSE_1' : 'CRM_CT_GSE_0';
$argString .= $isSeparator ? '_1' : '_0';
$argString .= $separator;
+ $argString = CRM_Core_BAO_Cache::cleanKey($argString);
if (!array_key_exists($argString, $_cache)) {
$cache = CRM_Utils_Cache::singleton();
$_cache[$argString] = $cache->get($argString);