Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better yet, don't update student text at all

  • Loading branch information...
commit 7e78d960971042fd8d8ede9cfc40fe1a9af60fd8 1 parent 27619c6
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
@@ -180,7 +180,7 @@ function process_feedback() {
$newsubmission->mailed = 0; // Make sure mail goes out (again, even)
$newsubmission->timemarked = time();
- $newsubmission->data1 = addslashes($newsubmission->data1);
+ unset($newsubmission->data1); // Don't need to update this.
if (! update_record('assignment_submissions', $newsubmission)) {
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.