diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html
index 21044c1f80..61cda0c52b 100644
--- a/lms/templates/staff_problem_info.html
+++ b/lms/templates/staff_problem_info.html
@@ -1,7 +1,7 @@
${module_content}
%if edit_link:
-
Edit /
+
Edit /
// assumes courseware.html's loaded this method.
- % if staff_access:
- setup_debug('${element_id}',
- %if edit_link:
- '${edit_link}',
- %else:
- null,
- %endif
- {
- 'location': '${location}',
- 'xqa_key': '${xqa_key}',
- 'category': '${category}',
- 'user': '${user}'
- });
- % endif
+ setup_debug('${element_id}',
+ %if edit_link:
+ '${edit_link}',
+ %else:
+ null,
+ %endif
+ {
+ 'location': '${location}',
+ 'xqa_key': '${xqa_key}',
+ 'category': '${category}',
+ 'user': '${user}'
+ });