projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix mishandling of renamed membership status labels on membership import
[civicrm-core.git]
/
CRM
/
Member
/
PseudoConstant.php
diff --git
a/CRM/Member/PseudoConstant.php
b/CRM/Member/PseudoConstant.php
index 417de01f0f779282a68383510577e57f1730710f..dedf38aaaf0da074d9d5a418a903ee4e0333335e 100644
(file)
--- a/
CRM/Member/PseudoConstant.php
+++ b/
CRM/Member/PseudoConstant.php
@@
-132,6
+132,9
@@
class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
if (isset(self::$$name)) {
self::$$name = NULL;
}
if (isset(self::$$name)) {
self::$$name = NULL;
}
+ // The preferred source of membership pseudoconstants is in fact the Core class.
+ // which buildOptions accesses - better flush that too.
+ CRM_Core_PseudoConstant::flush();
}
}
}
}