[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /homework response.pm

raeburn raeburn at source.lon-capa.org
Tue Jan 12 10:57:18 EST 2021


raeburn		Tue Jan 12 15:57:18 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/homework	response.pm 
  Log:
  - For 2.11
    Backport 1.248
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.244.2.2 loncom/homework/response.pm:1.244.2.3
--- loncom/homework/response.pm:1.244.2.2	Wed Oct 23 22:35:22 2019
+++ loncom/homework/response.pm	Tue Jan 12 15:57:18 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.244.2.2 2019/10/23 22:35:22 raeburn Exp $
+# $Id: response.pm,v 1.244.2.3 2021/01/12 15:57:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -468,8 +468,8 @@
 		$error = $award;
 		$award = 'ERROR';
 	    }
-            if (($award eq 'INCORRECT' || $award eq 'APPROX_ANS' ||
-                 $award eq 'EXACT_ANS')) {
+            if (($award eq 'INCORRECT') || ($award eq 'APPROX_ANS') ||
+                ($award eq 'EXACT_ANS') || ($award eq 'ASSIGNED_SCORE')) {
                 if ($Apache::lonhomework::type eq 'survey') {
                     $award='SUBMITTED';
                 } elsif ($Apache::lonhomework::type eq 'surveycred') {




More information about the LON-CAPA-cvs mailing list