diff --git a/mod/survey/index.php b/mod/survey/index.php
index be0a896ccf2..dbdff21a538 100644
--- a/mod/survey/index.php
+++ b/mod/survey/index.php
@@ -63,7 +63,7 @@
$tt_href = "coursemodule\">".format_string($survey->name,true)."";
} else {
//Show normal if the mod is visible
- $tt_href = "coursemodule\">".format_string($survey->name,true)".";
+ $tt_href = "coursemodule\">".format_string($survey->name,true)."";
}
if ($course->format == "weeks" or $course->format == "topics") {