# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php +++ components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php @@ -3663,10 +3663,10 @@ 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 ); \ No newline at end of file + $user->gids = array( $user->gid ); \ No newline at end of file } $user->block = cbGetParam( $postdata, 'block', 0 ); $user->sendEmail = cbGetParam( $postdata, 'sendEmail', 0 );