diff --git a/lms/www/dashboard/index.py b/lms/www/dashboard/index.py index 23616076..487ebdd1 100644 --- a/lms/www/dashboard/index.py +++ b/lms/www/dashboard/index.py @@ -2,7 +2,7 @@ import frappe from lms.lms.utils import has_course_instructor_role -def get_content(context): +def get_context(context): context.no_cache = 1 portal_course_creation = frappe.db.get_single_value("LMS Settings", "portal_course_creation") context.show_creators_section = portal_course_creation == "Anyone" or has_course_instructor_role()