From f574d378d5168fb4c2d29ff00a0178289feed9d5 Mon Sep 17 00:00:00 2001 From: Shane Elliott Date: Wed, 13 Oct 2010 09:00:31 +0000 Subject: [PATCH] MDL-24649 Fixed typo preventing download in excel format --- mod/choice/report.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/choice/report.php b/mod/choice/report.php index fd28a6b7144..f2bc2698ba7 100644 --- a/mod/choice/report.php +++ b/mod/choice/report.php @@ -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";