diff options
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 159761e78..6c01f1040 100644 --- a/install.php +++ b/install.php @@ -101,7 +101,7 @@ function install_main() { // Locale selection if (!empty($_GET['locale'])) { - $install_locale = preg_replace('/[^a-zA-Z_0-9]/', '', $_GET['locale']); + $install_locale = preg_replace('/[^a-zA-Z_0-9\-]/', '', $_GET['locale']); } elseif (($install_locale = install_select_locale($profile)) !== FALSE) { install_goto("install.php?profile=$profile&locale=$install_locale"); |