diff --git a/templates/course-hint-hidden.mustache b/templates/course-hint-hidden.mustache
index d41d258821b..7fe7aa43059 100644
--- a/templates/course-hint-hidden.mustache
+++ b/templates/course-hint-hidden.mustache
@@ -27,7 +27,7 @@
Example context (json):
{
"courseid": "123",
- "hintcoursehiddentext: "This course is currently hidden. Only enrolled teachers can access this course when hidden.",
+ "hintcoursehiddentext": "This course is currently hidden. Only enrolled teachers can access this course when hidden.",
"showcoursesettingslink": true
}
}}