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;
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 bug reports → 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;
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.
Exactly
Hehehe Noted.
PunBB Forums → PunBB 1.2 bug reports → Small mistake in register.php
Powered by PunBB, supported by Informer Technologies, Inc.