Bug #4193
closed
Moderator forced tab privacy settings not taking affect
Added by krileon about 11 years ago.
Updated about 10 years ago.
Start date:
29 August 2013
Description
The IF statement is off for checking display privacy. It checks for user controlled privacy or moderator controlled privacy, but doesn't take into account if we're displaying a tab or saving a tab. This does not seam to affect fields.
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Quickfix as follows.
IN: /components/com_comprofiler/plugin/user/plug_cbprivacy/tab.cbprivacy.php
ON: Line 130
FROM:
if ( ( $display 1 ) || ( ( $display 2 ) && isModerator( $myId ) ) ) {
TO:
if ( ( $isDisplay && ( ( $display 1 ) || ( $display 2 ) ) ) || ( $isSave && ( $display 2 ) && isModerator( $myId ) ) || ( $isSave && ( $display 1 ) ) ) {
- Target version set to 4.0.0
- Status changed from Resolved to Closed
Also available in: Atom
PDF