Bug #2244 ยป 2244.patch
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 );
|