Bug #3246 ยป 3246.patch
administrator/components/com_comprofiler/library/cb/cb.acl.php | ||
---|---|---|
$paths[$gid] = array();
|
||
|
||
foreach( $grps as $grp ) {
|
||
if ( ( $grp->lft <= $grps[$gid]->lft ) && ( $grp->rgt >= $grps[$gid]->rgt ) ) {
|
||
if ( ( ( $grp->lft <= $grps[$gid]->lft ) && ( $grp->rgt >= $grps[$gid]->rgt ) ) || $this->amIaSuperAdmin() ) {
|
||
$paths[$gid][] = $grp->id;
|
||
}
|
||
}
|