Bug #2205 ยป 2205.patch
components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.php | ||
---|---|---|
$messageobject = $msg_params['messageobject'];
|
||
|
||
if ( $mode === 1 ) { //Beginner
|
||
$username = $this->getFieldValue( $user, (int) $this->params->get( 'sidebarBeginnerName', null ), 'html', 'list' );
|
||
$version = substr( $forum->version, 0, 3 );
|
||
|
||
if ( strcasecmp( $version, '1.6' ) == 0 ) {
|
||
$username = $this->getFieldValue( $user, (int) $this->params->get( 'sidebarBeginnerName', null ) );
|
||
} else {
|
||
$username = $this->getFieldValue( $user, (int) $this->params->get( 'sidebarBeginnerName', null ), 'html', 'list' );
|
||
}
|
||
|
||
if ( $config->changename && ( $messageobject->name != $msg_params['username'] ) ) {
|
||
$msg_params['username'] = $messageobject->name;
|
||
} elseif ( $username ) {
|