mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19:22 +02:00
Fix #351 - syntax error in register.php
This commit is contained in:
parent
a3f2cce4aa
commit
6fee46767b
@ -44,6 +44,7 @@ if (empty($_POST) === false) {
|
|||||||
if (preg_match("/^[0-9]+$/", $_POST['username']) == false) {
|
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
|
// name restriction
|
||||||
$resname = explode(" ", $_POST['username']);
|
$resname = explode(" ", $_POST['username']);
|
||||||
foreach($resname as $res) {
|
foreach($resname as $res) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user