# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/library/cb/cb.acl.php +++ administrator/components/com_comprofiler/library/cb/cb.acl.php @@ -814,6 +814,12 @@ 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. + } + } + \ No newline at end of file return $_CB_framework->acl->get_group_children_ids( $gid ); }