Bug #2864 ยป 2864.patch
| administrator/components/com_comprofiler/library/cb/cb.tables.php | ||
|---|---|---|
|
$_CB_database->setQuery( $query );
|
||
|
$this->usertype = $_CB_database->loadResult();
|
||
|
|
||
|
if ( ( $this->confirmed == 0 ) && ( $this->cbactivation == '' ) && ( $ueConfig['reg_confirmation'] != 0 ) ) {
|
||
|
$this->_setActivationCode();
|
||
|
}
|
||
|
|
||
|
// creates CMS and CB objects:
|
||
|
$this->_mapUsers();
|
||
|
|
||
| ... | ... | |
|
$this->_comprofilerUser->id = $this->_cmsUser->id;
|
||
|
}
|
||
|
|
||
|
if ( ( $this->confirmed == 0 ) && ( $this->cbactivation == '' ) && ( $ueConfig['reg_confirmation'] != 0 ) ) {
|
||
|
$this->_setActivationCode();
|
||
|
}
|
||
|
|
||
|
// stores CB user into comprofiler: if new, inserts, otherwise updates:
|
||
|
if ( $this->user_id == 0 ) {
|
||
|
$this->user_id = $this->_cmsUser->id;
|
||