diff --git a/question/type/description/questiontype.php b/question/type/description/questiontype.php index 1a2434b5537..0ac008c493c 100644 --- a/question/type/description/questiontype.php +++ b/question/type/description/questiontype.php @@ -54,6 +54,7 @@ class description_qtype extends default_questiontype { } // For editing teachers print a link to an editing popup window + $editlink = ''; if (question_has_capability_on($question, 'edit')) { $stredit = get_string('edit'); $linktext = ''.$stredit.'';