MDL-37753 mod_feedback: Use activity name for export filename

This commit is contained in:
Brendan Heywood
2016-04-29 12:17:59 +01:00
committed by Dan Poltawski
parent dae21986aa
commit 97909332eb
+2 -2
View File
@@ -71,10 +71,10 @@ class mod_feedback_responses_table extends table_sql {
$this->baseurl->param($this->showallparamname, $this->showall);
}
$name = format_string($feedbackstructure->get_feedback()->name);
$this->is_downloadable(true);
$this->is_downloading(optional_param($this->downloadparamname, 0, PARAM_ALPHA),
'feedback_test');
$name, get_string('responses', 'feedback'));
$this->useridfield = 'userid';
$this->init();
}