diff options
author | Gina Haeussge <gina@foosel.net> | 2010-06-29 19:07:17 +0200 |
---|---|---|
committer | Gina Haeussge <gina@foosel.net> | 2010-06-29 19:07:17 +0200 |
commit | d60813a26ea44823a92d3beb34d79c7399102574 (patch) | |
tree | d0afd426f834900538f8d7cc890f8c95895a6aaf /install.php | |
parent | a200e8961b8e876018b330506372e1e403508de3 (diff) | |
download | rpg-d60813a26ea44823a92d3beb34d79c7399102574.tar.gz rpg-d60813a26ea44823a92d3beb34d79c7399102574.tar.bz2 |
FS#1962: Also allow 0 in user names
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |