From 096d42f47edbf78b11d7fa67847abc3307f031ab Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 16 Apr 2008 16:56:33 +0000 Subject: [PATCH] MDL-14392 - Notice from description question types when you don't have edit permission --- question/type/description/questiontype.php | 1 + 1 file changed, 1 insertion(+) diff --git a/question/type/description/questiontype.php b/question/type/description/questiontype.php index 1a2434b553..0ac008c493 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.''; -- 2.39.5