mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Fix #351 - syntax error in register.php
This commit is contained in:
parent
a3f2cce4aa
commit
6fee46767b
@ -42,7 +42,8 @@ if (empty($_POST) === false) {
|
||||
}
|
||||
} else {
|
||||
if (preg_match("/^[0-9]+$/", $_POST['username']) == false) {
|
||||
$errors[] = 'Your account can only contain numbers 0-9.';
|
||||
$errors[] = 'Your account can only contain numbers 0-9.';
|
||||
}
|
||||
}
|
||||
// name restriction
|
||||
$resname = explode(" ", $_POST['username']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user