Topic: Small mistake in register.php

if ($email_setting < 0 && $email_setting > 2) $email_setting = 1;

should be

if ($email_setting < 0 || $email_setting > 2) $email_setting = 1;

2

Re: Small mistake in register.php

With a limited understanding of coding I take it that it would be unlikely to find a setting which was both less than zero and more than two at the same time.

Re: Small mistake in register.php

Exactly smile

Re: Small mistake in register.php

Hehehe smile Noted.

"Programming is like sex: one mistake and you have to support it for the rest of your life."