Fix register form not validating properly
This commit is contained in:
parent
31fe8cd0df
commit
7fd3127d32
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if (isset($_POST['email'], $_POST['password']) && !empty($_POST['planet'])) {
|
||||||
$user_email = Sanitiser::getEmail($_POST['email']);
|
$user_email = Sanitiser::getEmail($_POST['email']);
|
||||||
|
|
||||||
$isHuman = false;
|
$isHuman = false;
|
||||||
$planet = Sanitiser::getTitle($_POST['planet']);
|
$planet = strtolower(Sanitiser::getTitle($_POST['planet']));
|
||||||
$planetName = strtoupper($planet[0]) . substr($planet, 1);
|
$planetName = strtoupper($planet[0]) . substr($planet, 1);
|
||||||
$planets = array(
|
$planets = array(
|
||||||
strtolower(__('Mercury')),
|
strtolower(__('Mercury')),
|
||||||
|
|
Loading…
Reference in a new issue