Closed (fixed)
Project:
User Relationships
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2007 at 01:16 UTC
Updated:
2 Oct 2007 at 07:32 UTC
If you look at someone else's relationships pages, you are returned a list of all relationships in the db, not just those of that user. Additionally, you are sometimes returned info for the user and the user's relationship. The former is happening b/c of a typo in a variable name (viewed_user vs. viewd_user--missing "e"). The latter is happening b/c the code's comparing using your user object rather than user x's relationship object. Finally, there was some reversed code that returned 404 for real users, the page for uid == 0. A patch is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| user_relationships_theme.patch | 1.24 KB | gwen |
Comments
Comment #1
sprsquish commentedlooks fine to me. Must have completly missed the err after creating the previous patch. I won't be available this weekend so please commit the patch the next chance you get.
Comment #2
gwen commentedComment #3
(not verified) commented