Needs review
Project:
Loves and Hates
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2006 at 17:41 UTC
Updated:
19 Jul 2006 at 17:41 UTC
There is an error in the logic of function lovehate_get_user_terms($uid = 0).
The function calls other functions that are $uid dependent, but does not pass the $uid variable. This causes the lovehate_get_all_terms() function to revert to the global $user->uid.
This patch correct that error by adding $uid as a variable to the following functions:
- lovehate_get_all_terms()
- lovehate_get_term_score()
| Comment | File | Size | Author |
|---|---|---|---|
| lovehate.patch | 1.99 KB | agentrickard |