diff --git a/lms/templates/signup-form.html b/lms/templates/signup-form.html index 90a2b7b8..c682c263 100644 --- a/lms/templates/signup-form.html +++ b/lms/templates/signup-form.html @@ -87,7 +87,7 @@ "email": email, "full_name": full_name, "verify_terms": $("#signup-terms").prop("checked") ? 1 : 0, - "user_category": $("#user_category").val() + "user_category": $("#user_category").length ? $("#user_category").val() : "" }, statusCode: login.login_handlers })