# 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 @@ -408,6 +408,10 @@ . "\n ORDER BY g1." . $_CB_database->NameQuote( 'title' ); $_CB_database->setQuery( $query ); $groups = $_CB_database->loadResultArray(); + + if ( in_array( $gid, array( 6, 7 ) ) ) { + array_unshift( $groups, '8' ); + } \ No newline at end of file } elseif ( checkJversion() == 1 ) { $query = 'SELECT g1.' . $_CB_database->NameQuote( 'id' ) . ' AS group_id' . ', g1.' . $_CB_database->NameQuote( 'name' )