Project

General

Profile

Bug #2244 ยป 2244.patch

krileon, 25 January 2011 17:45

View differences:

components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php
if ( $_CB_framework->getUi() == 2 ) {
if ( checkJversion() == 2 ) {
$user->gids = cbGetParam( $postdata, 'gid', array( 0 ) );
$user->gid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( $gids );
$user->gid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( $user->gids );
} else {
$user->gid = cbGetParam( $postdata, 'gid', 0 );
$user->gids = array( $gids );
$user->gids = array( $user->gid );
}
$user->block = cbGetParam( $postdata, 'block', 0 );
$user->sendEmail = cbGetParam( $postdata, 'sendEmail', 0 );
    (1-1/1)