Issue #1765664 by drewish: Switch static variable in user_relationships_types_load() to drupal_static().