url: http://www.example.com/relationships/$uid/requested/cancel/$uid2?destination=relationships%2F5%2Frequests

The user's own name (vs. the requestee's name) is displayed on the cancel relationship request page. This is happening b/c user_relationships_pending_requested() is used to generate the cancel, approve and disapprove forms and the code always uses $relationship->requester. That doesn't work b/c in the former case, user == requester and in the latter cases, user == requestee. We need to put in some logic to set the value appropriately depending on case.

CommentFileSizeAuthor
#1 urconfirm.patch963 bytesprfctns6@gmail.com
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

prfctns6@gmail.com’s picture

Status: Active » Needs review
FileSize
963 bytes

Here's a little patch I wrote.
You might want to use it, mote for mote.
Don't worry,
Be Happy!

[It's Friday afternoon! :-)]

sprsquish’s picture

Status: Needs review » Closed (fixed)

done