MDL-24649 Fixed typo preventing download in excel format

This commit is contained in:
Shane Elliott
2010-10-13 09:00:31 +00:00
parent 0831484c2a
commit f574d378d5
+1 -1
View File
@@ -230,7 +230,7 @@
$downloadoptions[] = html_writer::tag('li', $button, array('class'=>'reportoption'));
$options["download"] = "xls";
$buttons = $OUTPUT->single_button(new moodle_url("report.php", $options), get_string("downloadexcel"));
$button = $OUTPUT->single_button(new moodle_url("report.php", $options), get_string("downloadexcel"));
$downloadoptions[] = html_writer::tag('li', $button, array('class'=>'reportoption'));
$options["download"] = "txt";