weblib MDL-25390 Minor fix of incorrect use of moodle_url object

This commit is contained in:
Sam Hemelryk 2010-11-24 02:08:30 +00:00
parent 79007ae74c
commit 48561e1b94

View File

@ -2269,7 +2269,7 @@ function print_grade_menu($courseid, $name, $current, $includenograde=true, $ret
$linkobject = '<span class="helplink"><img class="iconhelp" alt="'.$strscales.'" src="'.$OUTPUT->pix_url('help') . '" /></span>';
$link = new moodle_url('/course/scales.php', array('id'=>$courseid, 'list'=>1));
$action = new popup_action('click', $link->url, 'ratingscales', array('height' => 400, 'width' => 500));
$action = new popup_action('click', $link, 'ratingscales', array('height' => 400, 'width' => 500));
$output .= $OUTPUT->action_link($link, $linkobject, $action, array('title'=>$strscales));
if ($return) {