Assume:

  1. Roommate relationship implies Friend relationship.
  2. No prior relationships/requests exist between Ann and Bob.
  3. Ann sends Bob a Roommate relationship request. This will generate two separate requests: a Roommate request and a Friends request.

If Bob approves the Roommate request, the Friend request should also be approved. However, when the Implications module tries to approve the Friend request, it gets a syntax error:

Fatal error: Call to undefined function user_relationships_relationship_load() in /var/www/svn/dev/sites/all/modules/user_relationships/plugins/user_relationship_implications/user_relationship_implications.module on line 188

I've attached a patch.

CommentFileSizeAuthor
ur_imp_approve.patch1015 bytesprfctns6@gmail.com
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

prfctns6@gmail.com’s picture

Removed duplicate post. Must have been seeing some caching errors that caused to description to appear/disappear arbitrarily.

sprsquish’s picture

Status: Needs review » Closed (fixed)