From 4ba32cf15d366de68e057e02891eeeff40fbe574 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Tue, 6 Apr 2010 11:49:50 +0000 Subject: [PATCH] question base type: Fix typo. --- question/type/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 796f4b6f28f..78dcbee76cf 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -945,7 +945,7 @@ class default_questiontype { $strcomment = get_string('commentorgrade', 'quiz'); $link = new moodle_url("$options->questioncommentlink?attempt=$state->attempt&question=$actualquestionid"); - $action = new popup_action('click', $link->url, 'commentquestion', array('height' => 480, 'width' => 750)); + $action = new popup_action('click', $link, 'commentquestion', array('height' => 480, 'width' => 750)); $commentlink = $OUTPUT->container($OUTPUT->action_link($link, $strcomment, $action), 'commentlink'); } -- 2.36.1