When journal to assignment migration is performed, journal

upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"
This commit is contained in:
stronk7 2006-09-21 10:04:49 +00:00
parent 0bc94c9990
commit db33348f53
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ function assignment_online_upgrade($oldversion) {
$submission->data1 = addslashes($entry->text);
$submission->data2 = $entry->format;
$submission->grade = $entry->rating;
$submission->submissioncomment = addslashes($entry->submissioncomment);
$submission->submissioncomment = addslashes($entry->comment);
$submission->format = FORMAT_MOODLE;
$submission->teacher = $entry->teacher;
$submission->timemarked = $entry->timemarked;

View File

@ -80,7 +80,7 @@ function assignment_online_upgrade($oldversion) {
$submission->data1 = addslashes($entry->text);
$submission->data2 = $entry->format;
$submission->grade = $entry->rating;
$submission->submissioncomment = addslashes($entry->submissioncomment);
$submission->submissioncomment = addslashes($entry->comment);
$submission->format = FORMAT_MOODLE;
$submission->teacher = $entry->teacher;
$submission->timemarked = $entry->timemarked;