fixed args in call to add_histogram

This commit is contained in:
Victor Shnayder
2012-07-31 17:20:33 -04:00
parent 740c9b7df1
commit 463b758434

View File

@@ -185,7 +185,7 @@ def get_module(user, request, location, student_module_cache, position=None):
)
if settings.MITX_FEATURES.get('DISPLAY_HISTOGRAMS_TO_STAFF') and user.is_staff:
module.get_html = add_histogram(module.get_html)
module.get_html = add_histogram(module.get_html, module)
# If StudentModule for this instance wasn't already in the database,
# and this isn't a guest user, create it.