Closed (fixed)
Project:
User Relationships
Version:
5.x-2.9
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 May 2009 at 05:33 UTC
Updated:
8 Nov 2009 at 18:00 UTC
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!