mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
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:
parent
0bc94c9990
commit
db33348f53
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user