Fix up question import. Thanks to Christopher Molnar: http://moodle.org/mod/forum/discuss.php?d=105164

This commit is contained in:
tjhunt 2008-09-08 02:33:24 +00:00
parent 6c91ce49ff
commit bced30229b

View file

@ -84,7 +84,7 @@ class question_import_form extends moodleform {
} }
} }
function get_importfile_name(){ function get_importfile_realname(){
if ($this->is_submitted() and $this->is_validated()) { if ($this->is_submitted() and $this->is_validated()) {
// return the temporary filename to process // return the temporary filename to process
// TODO change this to use the files API properly. // TODO change this to use the files API properly.