From dde8a5ba5802e2f37ec16f2924196e45fabf689b Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Sun, 31 Jan 2016 13:10:19 -0500 Subject: [PATCH] CRM-16801: fix seedLanguage in the installer. --- install/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/index.php b/install/index.php index 8f8303dff0..4dd397a9e7 100644 --- a/install/index.php +++ b/install/index.php @@ -134,9 +134,9 @@ global $tsLocale; $tsLocale = 'en_US'; $seedLanguage = 'en_US'; -if (isset($_POST['seedLanguage']) and isset($langs[$_POST['seedLanguage']])) { - $seedLanguage = $_POST['seedLanguage']; - $tsLocale = $_POST['seedLanguage']; +if (isset($_GET['seedLanguage']) and isset($langs[$_GET['seedLanguage']])) { + $seedLanguage = $_GET['seedLanguage']; + $tsLocale = $_GET['seedLanguage']; } $config = CRM_Core_Config::singleton(FALSE); -- 2.25.1