Project

General

Profile

Feature proposal #3070 ยป 3070.patch

krileon, 07 February 2012 16:04

View differences:

administrator/components/com_comprofiler/plugin.foundation.php
}
}
$cleanedANDpubAccess = ' AND published = 1 AND access IN (' . implode( ',', cbArrayToInts( $viewLevels ) ) . ')';
if ( checkJversion() >= 2 ) {
$cleanedANDpubAccess .= ' AND ' . $_CB_database->NameQuote( 'language' ) . ' IN ( ' . $_CB_database->Quote( $_CB_framework->getCfg( 'lang_tag' ) ) . ', ' . $_CB_database->Quote( '*' ) . ' )';
}
if ( $task !== 'userprofile' && is_string( $task ) ) {
$_CB_database->setQuery( 'SELECT id FROM #__menu WHERE link LIKE '
. $_CB_database->Quote( 'index.php?option=com_comprofiler&task=' . $_CB_database->getEscaped( $task, true ) . '%', false )
    (1-1/1)