Add pseudoconstant for Relationship.relationship_type_id
[civicrm-core.git] / CRM / Contact / BAO / RelationshipType.php
index 08b0d8103232254090dd1e17fc0c4e5939392b46..7515f4f14d5da3b1e0809a69824070e5789fd4a1 100644 (file)
@@ -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::flush();
     CRM_Case_XMLProcessor::flushStaticCaches();
     return $relationshipType;
   }