summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorGina Haeussge <gina@foosel.net>2010-06-29 19:07:17 +0200
committerGina Haeussge <gina@foosel.net>2010-06-29 19:07:17 +0200
commitd60813a26ea44823a92d3beb34d79c7399102574 (patch)
treed0afd426f834900538f8d7cc890f8c95895a6aaf /install.php
parenta200e8961b8e876018b330506372e1e403508de3 (diff)
downloadrpg-d60813a26ea44823a92d3beb34d79c7399102574.tar.gz
rpg-d60813a26ea44823a92d3beb34d79c7399102574.tar.bz2
FS#1962: Also allow 0 in user names
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
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;
}