Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…danmarsden/moodle
  • Loading branch information...
commit 2c2034c9c365ac97ca906047f81589d4d7a2a410 2 parents 34997cf + 6fa51b7
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/choice/renderer.php
View
2  mod/choice/renderer.php
@@ -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' ));
Please sign in to comment.
Something went wrong with that request. Please try again.