From cd59c2ddfe5162022702803e4afe6477e5041fab Mon Sep 17 00:00:00 2001 From: Geoff Goehle Date: Tue, 10 Sep 2013 20:15:48 -0400 Subject: [PATCH] Fixed mssing my --- lib/WeBWorK/ContentGenerator/Instructor/ProblemGrader.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WeBWorK/ContentGenerator/Instructor/ProblemGrader.pm b/lib/WeBWorK/ContentGenerator/Instructor/ProblemGrader.pm index 97b2d82f2d..7fba50364b 100644 --- a/lib/WeBWorK/ContentGenerator/Instructor/ProblemGrader.pm +++ b/lib/WeBWorK/ContentGenerator/Instructor/ProblemGrader.pm @@ -129,6 +129,7 @@ sub initialize { #if the instructor added a comment we should save that to the latest answer if ($r->param("$userID.comment")) { + my $comment = $r->param("$userID.comment"); my $userPastAnswerID = $db->latestProblemPastAnswer($courseName, $userID, $setID, $problemID); if ($userPastAnswerID) {