Permalink
Browse files

MDL-31808 Upload assignment: fix user feedback display

  • Loading branch information...
1 parent c4a12af commit 2ce6d12f58386117ba808ceedc6cc65aa1375a8b Ruslan Kabalin committed Feb 28, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 mod/assignment/type/upload/assignment.class.php
@@ -113,9 +113,6 @@ function view_feedback($submission=NULL) {
$userid = $submission->userid;
}
- if (empty($submission->timemarked)) { /// Nothing to show, so print nothing
- return;
- }
// Check the user can submit
$canviewfeedback = ($userid == $USER->id && has_capability('mod/assignment:submit', $this->context, $USER->id, false));
// If not then check if the user still has the view cap and has a previous submission

0 comments on commit 2ce6d12

Please sign in to comment.