projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add pseudoconstant for Relationship.relationship_type_id
[civicrm-core.git]
/
CRM
/
Contact
/
BAO
/
RelationshipType.php
diff --git
a/CRM/Contact/BAO/RelationshipType.php
b/CRM/Contact/BAO/RelationshipType.php
index 08b0d8103232254090dd1e17fc0c4e5939392b46..7515f4f14d5da3b1e0809a69824070e5789fd4a1 100644
(file)
--- a/
CRM/Contact/BAO/RelationshipType.php
+++ b/
CRM/Contact/BAO/RelationshipType.php
@@
-89,6
+89,7
@@
class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType
CRM_Core_PseudoConstant::relationshipType('label', TRUE);
CRM_Core_PseudoConstant::relationshipType('name', TRUE);
CRM_Core_PseudoConstant::relationshipType('label', TRUE);
CRM_Core_PseudoConstant::relationshipType('name', TRUE);
+ CRM_Core_PseudoConstant::flush();
CRM_Case_XMLProcessor::flushStaticCaches();
return $relationshipType;
}
CRM_Case_XMLProcessor::flushStaticCaches();
return $relationshipType;
}