# 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. --- administrator/components/com_comprofiler/plugin.foundation.php +++ administrator/components/com_comprofiler/plugin.foundation.php @@ -2089,7 +2092,7 @@ 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;