Bug #3301 ยป 3301.patch
administrator/components/com_comprofiler/library/cb/cb.acl.php | ||
---|---|---|
|
||
$rows = $gids[$id];
|
||
|
||
if ( $rows ) {
|
||
if ( $raw ) {
|
||
// in raw mode, makes array of strict ints:
|
||
$grps = array( -2 );
|
||
if ( $raw ) {
|
||
// in raw mode, makes array of strict ints:
|
||
$grps = array( -2 );
|
||
|
||
if ( $myId ) {
|
||
$grps[] = -1;
|
||
}
|
||
if ( $myId ) {
|
||
$grps[] = -1;
|
||
}
|
||
|
||
if ( $rows ) {
|
||
foreach ( $rows as $row ) {
|
||
$grps[] = (int) $row->value;
|
||
}
|
||
|
||
$rows = $grps;
|
||
} else {
|
||
$grps[] = (int) $this->mapGroupNamesToValues( 'Public' );
|
||
}
|
||
} else {
|
||
|
||
$rows = $grps;
|
||
} elseif ( ! $rows ) {
|
||
$rows = array();
|
||
}
|
||
|