Skip to content
Snippets Groups Projects
Unverified Commit b2ebacf4 authored by Matthew Piatetsky's avatar Matthew Piatetsky Committed by GitHub
Browse files

Merge pull request #17787 from edx/REV-19

fix REV-19 experiment check for refunds
parents 13e7ec6a 063118cf
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@
courseNumber, courseName, enrollmentMode, showRefundOption, courseKey) {
// This flag is added for REV-19 experiment
var auditRefundableCourses = (window.experimentVariables || {}).auditRefundableCourses,
courseInExperiment = courseKey.indexOf(auditRefundableCourses) > 0,
courseInExperiment = auditRefundableCourses ? auditRefundableCourses.indexOf(courseKey) > -1 : false,
diagAttr = {};
if (isPaidCourse || courseInExperiment) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment