Project

General

Profile

Bug #2473 ยป 2473.patch

krileon, 06 April 2011 18:07

View differences:

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&amp;view=article&amp;id=' . $item->slug . '&amp;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&amp;view=article&amp;id=' . $item->slug . '&amp;catid=' . $item->catslug . $itemidtxt );
} else {
$url = cbSef( 'index.php?option=com_content&amp;task=view&amp;id=' . (int) $item->id . $itemidtxt );
}
    (1-1/1)