Permalink
Browse files

fix for bug #4206

  • Loading branch information...
1 parent e3e7f2b commit 6bd9fe3912f283fa9432b858d859926049f8785a moodler committed Nov 24, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit 6bd9fe3

Please sign in to comment.