mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-15758: fixing regressions i introduced in lib.php v 1.359
This commit is contained in:
parent
53aa4841c4
commit
a97bcd684c
3 changed files with 11 additions and 3 deletions
|
@ -344,6 +344,7 @@ class assignment_upload extends assignment_base {
|
|||
if ($files = $fs->get_area_files($this->context->id, 'assignment_submission', $userid, "timemodified", false)) {
|
||||
$p = array(
|
||||
'assignmentid' => $this->cm->id,
|
||||
'userid' => $USER->id,
|
||||
);
|
||||
foreach ($files as $file) {
|
||||
$filename = $file->get_filename();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue