assignment MDL-22609 reverting to userid as print_user_files is updated to lookup...
authorAparup Banerjee <nebgor@gmail.com>
Fri, 30 Jul 2010 02:28:41 +0000 (02:28 +0000)
committerAparup Banerjee <nebgor@gmail.com>
Fri, 30 Jul 2010 02:28:41 +0000 (02:28 +0000)
mod/assignment/type/uploadsingle/assignment.class.php

index a205ace..5126d5a 100644 (file)
@@ -79,7 +79,7 @@ class assignment_uploadsingle extends assignment_base {
                 $this->view_feedback();
             }
             if ($filecount) {
-                echo $OUTPUT->box($this->print_user_files($submission->id, true), 'generalbox boxaligncenter');
+                echo $OUTPUT->box($this->print_user_files($USER->id, true), 'generalbox boxaligncenter');
             }
         }