Project

General

Profile

Bug #3443 » 3443.patch

krileon, 16 April 2012 16:22

View differences:

administrator/components/com_comprofiler/library/cb/cb.acl.php
} else {
if ( checkJversion() == 1 ) {
$user =& JFactory::getUser( (int) $user_id );
$user =& JFactory::getUser();
if ( $user_id ) {
$user->load( (int) $user_id );
}
$level = $user->get( 'aid', 0 );
} else {
$user = new mosUser( $_CB_database );
(1-1/2)