output MDL-20204 Fixed regression incorrect param type

This commit is contained in:
Sam Hemelryk
2010-03-24 02:35:16 +00:00
parent 5cd8d09ee6
commit 230ec40140
+1 -1
View File
@@ -1436,7 +1436,7 @@ END;
$icon = $this->pix_icon('help', get_string('scales'), 'moodle', array('class'=>'iconhelp'));
$link = new moodle_url('/course/scales.php', array('id' => $courseid, 'list' => true, 'scaleid' => $scale->id));
$action = new popup_action('click', $link->url, 'ratingscale');
$action = new popup_action('click', $link, 'ratingscale');
return html_writer::tag('span', $this->action_link($link, $icon, $action), array('class' => 'helplink'));
}