Bug #2246 » 2246.patch
administrator/components/com_comprofiler/plugin.foundation.php | ||
---|---|---|
if ( checkJversion() >= 1 ) {
|
||
$usersConfig = &JComponentHelper::getParams( 'com_users' );
|
||
$setting = $usersConfig->get( $config );
|
||
if ( ( checkJversion() == 2 ) ) {
|
||
if ( ( checkJversion() == 2 ) && ( $config == 'new_usertype' ) ) {
|
||
$query = 'SELECT ' . $this->_cmsDatabase->NameQuote( 'title' )
|
||
. "\n FROM " . $this->_cmsDatabase->NameQuote( '#__usergroups' )
|
||
. "\n WHERE " . $this->_cmsDatabase->NameQuote( 'id' ) . " = " . (int) $setting;
|