Permalink
Browse files

Merge branch 'm20_MDL-25177_choice_windowfix' of git://github.com/dan…

…marsden/moodle into MOODLE_20_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed May 23, 2011
2 parents f79dd3b + d714350 commit f9ba5c522270c07c1068565efbbe8204033c6b37
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/choice/renderer.php
View
@@ -40,7 +40,7 @@ public function display_options($options, $coursemoduleid, $vertical = false) {
$layoutclass = 'vertical';
}
$target = new moodle_url('/mod/choice/view.php');
- $attributes = array('method'=>'POST', 'target'=>$target, 'class'=> $layoutclass);
+ $attributes = array('method'=>'POST', 'action'=>$target, 'class'=> $layoutclass);
$html = html_writer::start_tag('form', $attributes);
$html .= html_writer::start_tag('ul', array('class'=>'choices' ));

0 comments on commit f9ba5c5

Please sign in to comment.