After spending a few hours tracking down problems with my code interfacing with the user_relationships module, I modified my copy to do a few extra sanity checks on various values. In particular, in user_relationships_request_relationship, an invalid UID or relationship ID will result in a NULL when the object is loaded, which can cause invalid data to end up in the tables.
Here are the changes I made.
| Comment | File | Size | Author |
|---|---|---|---|
| user_relationships_careful.patch | 2.31 KB | scottgifford |
Comments
Comment #1
alex.k commentedCommitted http://drupal.org/cvs?commit=279796. Thank you!