# 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 @@ -302,7 +302,7 @@ } function get_allowed_access( $access_gid, $recurse, $user_gid ) { - if ( ( $access_gid == -2 ) || ( ( $access_gid == -1 ) && ( $user_gid > 0 ) ) ) { + if ( ( $access_gid == -2 ) || ( ( $access_gid == -1 ) && ( $user_gid && ( $user_gid != $this->mapGroupNamesToValues( 'Public' ) ) ) ) ) { return true; } else { if ( $user_gid == $access_gid ) { @@ -396,7 +396,7 @@ $standardlist = array( -2 ); - if ( $gid > 0 ) { \ No newline at end of file + if ( $gid && ( $gid != $this->mapGroupNamesToValues( 'Public' ) ) ) { \ No newline at end of file $standardlist[] = -1; }