Skip to content
Permalink
Browse files

MDL-34363 gradebook Adding check to prevent incorrect override when a…

… blank feedback is submitted.
  • Loading branch information...
merrill-oakland committed Aug 21, 2012
1 parent 7033316 commit 35870a76db474b0e0aa53d862b2a327f4bef5d95
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/report/grader/lib.php
@@ -225,7 +225,7 @@ public function process_data($data) {
$changedgrades = true;
} else if ($datatype === 'feedback') {
if ($oldvalue->feedback === $postedvalue) {
if (($oldvalue->feedback === $postedvalue) or ($oldvalue->feedback === NULL and empty($postedvalue))) {
continue;
}
}

0 comments on commit 35870a7

Please sign in to comment.
You can’t perform that action at this time.