Bug #3443 » 3443.patch
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 );
|