diff --git a/export.php b/export.php index 43bf12fd504b87b0178068002072005645128904..1a288b789d75160b5ee0801dc4a76269293c9d9f 100644 --- a/export.php +++ b/export.php @@ -56,7 +56,7 @@ if ($mform->is_cancelled()) { redirect($returnurl); } elseif ($formdata) { $exporter = new exporter($formdata); - $exporter->csv_download(); + $exporter->send_file(); } else { $mform->set_data($formdata); }