From d60813a26ea44823a92d3beb34d79c7399102574 Mon Sep 17 00:00:00 2001
From: Gina Haeussge <gina@foosel.net>
Date: Tue, 29 Jun 2010 19:07:17 +0200
Subject: [PATCH] FS#1962: Also allow 0 in user names

---
 install.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.php b/install.php
index 1ec822fd9..e2f301f27 100644
--- a/install.php
+++ b/install.php
@@ -255,7 +255,7 @@ function check_data(&$d){
         $ok      = false;
     }
     if($d['acl']){
-        if(!preg_match('/^[a-z1-9_]+$/',$d['superuser'])){
+        if(!preg_match('/^[a-z0-9_]+$/',$d['superuser'])){
             $error[] = sprintf($lang['i_badval'],$lang['i_superuser']);
             $ok      = false;
         }
-- 
GitLab