# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # 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 @@ -55,7 +55,7 @@ . "\n AND a.state = 1 " . "\n AND (publish_up = '0000-00-00 00:00:00' OR publish_up <= '$now')" . "\n AND (publish_down = '0000-00-00 00:00:00' OR publish_down >= '$now')" - . "\n AND a.access IN (" . implode( ',', CBuser::getMyInstance()->getAuthorisedViewLevelsIds( true ) ) . ')' \ No newline at end of file + . "\n AND a.access IN (" . implode( ',', CBuser::getMyInstance()->getAuthorisedViewLevelsIds( ( $jVer >= 2 ? false : true ) ) ) . ')' \ No newline at end of file . "\n ORDER BY a.created DESC" ; $_CB_database->setQuery( $query );