From 8efd9deb3217f38b21c9a79890c12148107fe28f Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Fri, 6 Aug 2010 03:32:11 +0000 Subject: [PATCH] assignment MDL-23680 fixed upload single not displaying response file to student. --- mod/assignment/lib.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index 817ea85f9df..7ff052d17d4 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -321,6 +321,17 @@ class assignment_base { echo ''; echo ''; + if ($this->type == 'uploadsingle') { //@TODO: move to overload view_feedback method in the class or is uploadsingle merging into upload? + $responsefiles = $this->print_responsefiles($submission->userid, true); + if (!empty($responsefiles)) { + echo ''; + echo ' '; + echo ''; + echo $responsefiles; + echo ''; + } + } + echo ''; } -- 2.43.0