aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php
index 43d536e7e9..fa85b89d48 100644
--- a/phpBB/includes/functions_install.php
+++ b/phpBB/includes/functions_install.php
@@ -280,7 +280,7 @@ function connect_check_db($error_connect, &$error, $dbms, $table_prefix, $dbhost
{
case 'mysql':
case 'mysqli':
- if (strpos($table_prefix, '-') !== false)
+ if (strpos($table_prefix, '-') !== false || strpos($table_prefix, '.') !== false)
{
$error[] = $lang['INST_ERR_PREFIX_INVALID'];
return false;