if (!Civi::cache('metadata')->has($cacheString)) {
$types = civicrm_api3('MembershipType', 'get', ['options' => ['limit' => 0, 'sort' => 'weight']])['values'];
$taxRates = CRM_Core_PseudoConstant::getTaxRates();
- $keys = ['description', 'relationship_type_id', 'relationship_direction', 'max_related'];
+ $keys = ['description', 'relationship_type_id', 'relationship_direction', 'max_related', 'auto_renew'];
// In order to avoid down-stream e-notices we undo api v3 filtering of NULL values. This is covered
// in Unit tests & ideally we might switch to apiv4 but I would argue we should build caching
// of metadata entities like this directly into apiv4.