Fix wrong popup in registration form

fixes bad ternary in registration form, thanks @Zen00