diff --git a/html/user/create_profile.php b/html/user/create_profile.php
index e3dbdb6247..8f8d37ea0b 100644
--- a/html/user/create_profile.php
+++ b/html/user/create_profile.php
@@ -199,7 +199,7 @@ function process_create_profile($user, $profile) {
$response1 = post_str('response1', true);
$response2 = post_str('response2', true);
- $language = post_str('language');
+ $language = post_str('language', true);
$privatekey = parse_config($config, "");
if ($privatekey) {