# 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.tables.php +++ administrator/components/com_comprofiler/library/cb/cb.tables.php @@ -1251,8 +1251,8 @@ // In backend only: if group has been changed and where original group was a Super Admin: check if there is at least a super-admin left: if ( $ui == 2 ) { $myGid = userGID( $_CB_framework->myId() ); - $cms_admin = $_CB_framework->acl->mapGroupNamesToValues( 'Administrator' ); - $cms_super_admin = $_CB_framework->acl->mapGroupNamesToValues( 'Superadministrator' ); + $cms_admin = $_CB_framework->acl->mapGroupNamesToValues( 'administrator' ); + $cms_super_admin = $_CB_framework->acl->mapGroupNamesToValues( 'super administrator' ); if ( ! $isNew ) { if ( $this->gid != $oldUserComplete->gid ) { if ( $oldUserComplete->gid == $cms_super_admin ) {