diff options
-rw-r--r-- | includes/pages/guest_login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 76c944c5..0f8137d0 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -176,7 +176,7 @@ function guest_register() if ($request->has('prename')) { $preName = strip_request_item('prename'); } - if ($request->has('age') && preg_match('/^\d{0,4}$/', $request->input('age'))) { + if ($request->has('age') && preg_match('/^\d{1,4}$/', $request->input('age'))) { $age = strip_request_item('age'); } if ($request->has('tel')) { |