Bug #3486 » 3486.patch
components/com_comprofiler/plugin/user/plug_cbmamboauthortab/cb.authortab.php | ||
---|---|---|
}
|
||
if ( $jVer == 2 ) {
|
||
require_once( $_CB_framework->getCfg( 'absolute_path' ) . '/components/com_content/helpers/route.php' );
|
||
$url = cbSef( ContentHelperRoute::getArticleRoute( $item->slug, $item->catid ) );
|
||
$url = ContentHelperRoute::getArticleRoute( $item->id, $item->catid );
|
||
if ( ! stristr( $url, 'Itemid' ) ) {
|
||
$url = $_CB_framework->getCfg( 'live_site' ) . '/' . $url;
|
||
} else {
|
||
$url = cbSef( $url );
|
||
}
|
||
} elseif ( $jVer == 1 ) {
|
||
$url = cbSef( 'index.php?option=com_content&view=article&id=' . $item->slug . '&catid=' . $item->catslug . $itemidtxt );
|
||
} else {
|