From 6fee46767b31ab422bb33920cb83c334a6f7d0b7 Mon Sep 17 00:00:00 2001 From: "Stefan A. Brannfjell" Date: Tue, 19 Mar 2019 11:43:09 +0100 Subject: [PATCH] Fix #351 - syntax error in register.php --- register.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/register.php b/register.php index 3996ba1..e7d5c63 100644 --- a/register.php +++ b/register.php @@ -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']);