There is a bug in the code. When privacy checks are made username is applied in DB queries instead of user_id.
These lines need to be fixed:
includes/functions/functions_privacy.php line 463, 488, 489
< if ($USE_RELATIONSHIP_PRIVACY || get_user_setting(PGV_USER_ID, 'relationship_privacy')=="Y") {
---
> if ($USE_RELATIONSHIP_PRIVACY || get_user_setting($username, 'relationship_privacy')=="Y") {
< if (get_user_setting(PGV_USER_ID, 'max_relation_path')>0) {
< $path_length = get_user_setting(PGV_USER_ID, 'max_relation_path');
---
> if (get_user_setting($username, 'max_relation_path')>0) {
> $path_length = get_user_setting($username, 'max_relation_path');
Gerry Kroll
None
v4.2.4
Public
|
Date: 2011-10-02 19:07:44 PDT Thank you. |
|
Date: 2011-09-14 03:47:32 PDT Error visible on portal page: |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2011-10-02 19:07:44 PDT | canajun2eh |
| resolution_id | None | 2011-10-02 19:07:44 PDT | canajun2eh |
| assigned_to | nobody | 2011-10-02 19:07:44 PDT | canajun2eh |
| allow_comments | 1 | 2011-10-02 19:07:44 PDT | canajun2eh |
| close_date | - | 2011-10-02 19:07:44 PDT | canajun2eh |