Bug #2473 ยป 2473.patch
components/com_comprofiler/plugin/user/plug_cbmamboauthortab/cb.authortab.php | ||
---|---|---|
if ( $showHits ) {
|
||
$hits = "<td>".$item->hits."</td>";
|
||
}
|
||
if ( $jVer >= 1 ) { $url = cbSef( 'index.php?option=com_content&view=article&id=' . $item->slug . '&catid=' . $item->catslug . $itemidtxt );
|
||
if ( $jVer == 2 ) {
|
||
require_once( $_CB_framework->getCfg( 'absolute_path' ) . '/components/com_content/helpers/route.php' );
|
||
|
||
$url = cbSef( ContentHelperRoute::getArticleRoute( $item->slug, $item->catid ) );
|
||
} elseif ( $jVer == 1 ) {
|
||
$url = cbSef( 'index.php?option=com_content&view=article&id=' . $item->slug . '&catid=' . $item->catslug . $itemidtxt );
|
||
} else {
|
||
$url = cbSef( 'index.php?option=com_content&task=view&id=' . (int) $item->id . $itemidtxt );
|
||
}
|