Fix #1540

Removed redundant assignments so that the Contact Details box in profile
gets hidden when needed.
https://github.com/mybb/mybb/issues/1540
Ah nvm, they are called separately. I'll add a true/fals variable then.