Disallow removal of last profile from user object
Removal of the last available profile will render the given user inaccessible (with a not authorized). The GLPI interface should not allow the last available user profile to be removed. if numrows == 1 then disable or remove the selectbox.
Customer support service by UserEcho