mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fix #351 - syntax error in register.php
This commit is contained in:

committed by
GitHub

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']);
|
||||
|
Reference in New Issue
Block a user