# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_cbmamboauthortab/cb.authortab.php +++ components/com_comprofiler/plugin/user/plug_cbmamboauthortab/cb.authortab.php @@ -106,7 +106,12 @@ if ( $showHits ) { $hits = "".$item->hits.""; } - if ( $jVer >= 1 ) { $url = cbSef( 'index.php?option=com_content&view=article&id=' . $item->slug . '&catid=' . $item->catslug . $itemidtxt ); \ No newline at end of file + 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 ); \ No newline at end of file } else { $url = cbSef( 'index.php?option=com_content&task=view&id=' . (int) $item->id . $itemidtxt ); }