[-] Fix bug #PSCFV-9414 bad check on states when PS_REGISTRATION_PROCESS_TYPE = 0
Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development