mirror of
https://github.com/moodle/moodle.git
synced 2025-02-16 05:45:36 +01:00
fixed incorrect $f
This commit is contained in:
parent
c971707aff
commit
d94278c7aa
@ -298,7 +298,7 @@ class assignment_online extends assignment_base {
|
||||
if (in_array($exporter->get('formatclass'), array(PORTFOLIO_FORMAT_PLAINHTML, PORTFOLIO_FORMAT_RICHHTML))) {
|
||||
if ($files = $exporter->get('caller')->get('multifiles')) {
|
||||
foreach ($files as $f) {
|
||||
$exporter->copy_existing_file($file);
|
||||
$exporter->copy_existing_file($f);
|
||||
}
|
||||
}
|
||||
return $exporter->write_new_file($html, 'assignment.html', !empty($files));
|
||||
|
Loading…
x
Reference in New Issue
Block a user