CRM-16801: fix seedLanguage in the installer.
authorMathieu Lutfy <mathieu@bidon.ca>
Sun, 31 Jan 2016 18:10:19 +0000 (13:10 -0500)
committerMathieu Lutfy <mathieu@bidon.ca>
Sun, 31 Jan 2016 18:12:09 +0000 (13:12 -0500)
install/index.php

index 8f8303dff0b32575f1fb8e7672c4282bab772249..4dd397a9e7f08ea7a1de100cfbd828b9b77d32b4 100644 (file)
@@ -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);