Project

General

Profile

Bug #2681 ยป 2681.patch

krileon, 25 July 2011 18:58

View differences:

administrator/components/com_comprofiler/library/cb/cb.acl.php
function getChildGIDS( $gid ) {
global $_CB_framework;
if ( checkJversion() >= 2 ) {
if ( in_array( $gid, array( 0, 1, 2 ) ) ) {
++$gid; // CB's 0 is J1.6's 1, 1 is 2, 2 is 3.
}
}
return $_CB_framework->acl->get_group_children_ids( $gid );
}
    (1-1/1)