Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv19808/mod/math_assignment
Modified Files:
aimpage.php
Log Message:
Bug fix - grades from AiM are now stored as AiM grades, not paper grades
Index: aimpage.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/aimpage.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** aimpage.php 10 Sep 2003 18:25:50 -0000 1.2
--- aimpage.php 11 Sep 2003 15:12:23 -0000 1.3
***************
*** 218,222 ****
if (array_key_exists("Command", $_POST)) {
if (strcmp($_POST['Command'], "MarkQuiz") == 0) {
! math_assignment_store_grade($math_assignment, $USER->id, $grade);
}
}
--- 218,222 ----
if (array_key_exists("Command", $_POST)) {
if (strcmp($_POST['Command'], "MarkQuiz") == 0) {
! math_assignment_store_grade($math_assignment, $USER->id, -1, $grade);
}
}
|