From 2cdddef924eadacb8499fec80ae6b0a07f652da7 Mon Sep 17 00:00:00 2001
From: David Ormsbee <dave@edx.org>
Date: Fri, 23 Aug 2013 01:27:08 -0400
Subject: [PATCH] Remove useless critical log, remove unnecessary course_id
 escaping.

---
 lms/djangoapps/verify_student/views.py               | 1 -
 lms/templates/verify_student/photo_verification.html | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/lms/djangoapps/verify_student/views.py b/lms/djangoapps/verify_student/views.py
index 89093b7c695..79ad5589b7f 100644
--- a/lms/djangoapps/verify_student/views.py
+++ b/lms/djangoapps/verify_student/views.py
@@ -58,7 +58,6 @@ def create_order(request):
     attempt.save()
 
     course_id = request.POST['course_id']
-    log.critical(course_id)
 
     # I know, we should check this is valid. All kinds of stuff missing here
     # enrollment = CourseEnrollment.create_enrollment(request.user, course_id)
diff --git a/lms/templates/verify_student/photo_verification.html b/lms/templates/verify_student/photo_verification.html
index 8cc81bc5f8c..b8fb88eed47 100644
--- a/lms/templates/verify_student/photo_verification.html
+++ b/lms/templates/verify_student/photo_verification.html
@@ -34,7 +34,7 @@
     var xhr = $.post(
       "create_order",
       {
-        "course_id" : "${course_id|u}"
+        "course_id" : "${course_id}"
       },
       function(data) {
         for (prop in data) {
-- 
GitLab