diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-17 19:32:53 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-17 19:32:53 +0000 |
commit | fb577596044efb049a0ea74c7c74f7f5ebcd91d2 (patch) | |
tree | f21872ccb0e923f0b08849af8831778ba1da81c1 /install.php | |
parent | 6078c16e3e4755bf80533cb654c39bb2e7870043 (diff) | |
download | brdo-fb577596044efb049a0ea74c7c74f7f5ebcd91d2.tar.gz brdo-fb577596044efb049a0ea74c7c74f7f5ebcd91d2.tar.bz2 |
#228761 by zsanmartin and roborn: Fix language code regex and correct Portugal's language code.
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"); |