fix: minor issues

This commit is contained in:
pateljannat
2021-06-15 18:40:14 +05:30
parent e94c3f27ab
commit 9c1506d3c8
6 changed files with 11 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ def get_common_context(context):
context.template = "www/404.html"
return
batch_name = course.get_current_batch()
batch_name = course.get_current_batch(frappe.session.user)
batch = course.get_batch(batch_name)
context.batch = batch
if batch_name: