Project

General

Profile

Bug #3246 ยป 3246.patch

krileon, 11 February 2012 01:04

View differences:

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;
}
}
    (1-1/1)