Bug #3325 ยป 3325.patch
components/com_comprofiler/plugin/user/plug_cbprivacy/cb.privacy.php | ||
---|---|---|
$params = new cbParamsBase( $t->params );
|
||
$privacyEditFE = $params->get( 'plug_cbprivacy_frontend_edit' );
|
||
}
|
||
if ( $privacyEditFE ) {
|
||
if ( ( $_CB_framework->getUi() == 1 ) && $privacyEditFE ) {
|
||
if ( ( $privacyEditFE == 1 ) || ( $privacyEditFE == 2 ) && ( $myId == $user->id ) ) {
|
||
unset( $tabs[$k] );
|
||
}
|
||
... | ... | |
$privacyLevel = $params->get( 'plug_cbprivacy_tab_level' );
|
||
$privacyEditFE = $params->get( 'plug_cbprivacy_frontend_edit' );
|
||
}
|
||
if ( $privacyEditFE ) {
|
||
if ( ( $_CB_framework->getUi() == 1 ) && $privacyEditFE ) {
|
||
if ( ( $privacyEditFE == 1 ) || ( $privacyEditFE == 2 ) && ( $myId == $user->id ) ) {
|
||
unset( $tabs[$k] );
|
||
continue;
|