Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for bug #4206

  • Loading branch information...
commit 6bd9fe3912f283fa9432b858d859926049f8785a 1 parent e3e7f2b
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assignment/type/online/assignment.class.php
View
2  mod/assignment/type/online/assignment.class.php
@@ -51,7 +51,7 @@ function view() {
} else {
if ($submission) {
echo format_text($submission->data1, $submission->data2);
- } else {
+ } else if ($this->isopen()){ //fix for #4206
echo '<center>'.get_string('emptysubmission', 'assignment').'</center>';
}
if ($editable) {
Please sign in to comment.
Something went wrong with that request. Please try again.