diff options
Diffstat (limited to 'lib/install.php')
-rw-r--r-- | lib/install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.php b/lib/install.php index 21c4f616..6bfc2f6f 100644 --- a/lib/install.php +++ b/lib/install.php @@ -99,7 +99,7 @@ function install_check_status($configfile) { function install_insert_db($username,$password,$hostname,$database) { // Make sure that the database name is valid - $is_valid = preg_match("/([^\d\w\_])/",$database,$matches); + $is_valid = preg_match("/([^\d\w\_\-])/",$database,$matches); if (count($matches)) { Error::add('general','Error: Database name invalid must not be a reserved word, and must be Alphanumeric'); |