Fix: 2 bugs during validation of a member
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop