Project

General

Profile

Bug #3325 ยป 3325.patch

krileon, 10 April 2012 18:05

View differences:

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;
    (1-1/1)