Closed (fixed)
Project:
Profile Privacy
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2011 at 16:36 UTC
Updated:
30 Jan 2012 at 17:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
mstef commentedI think there's a mistake in the logic in _profile_privacy_views_field_access(), towards the bottom:
The last ELSE clause, checks to see if the View field settings for showing regardless of the field being private is set. But the second clause sets access to FALSE if it is private. That doesn't make sense. The check for the override should be in the middle clause, and the remaining ELSE should simply be $access = TRUE, because in that case, there are NO profile_privacy settings, and the field is public.
Comment #2
mstef commentedPatch
Comment #3
cpliakas commentedThanks, mikestefff . Sorry for just seeing this now. Will review within the next couple of days.
Comment #4
cpliakas commentedTested out the patch and it seems to work fine for me.
Comment #5
cpliakas commentedCommitted at http://drupalcode.org/project/profile_privacy.git/commit/5d15295.