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

raeburn raeburn@source.lon-capa.org
Thu, 11 Dec 2008 04:11:09 -0000


raeburn		Thu Dec 11 04:11:09 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/homework	response.pm 
  Log:
  - Backport 1.209.
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.206 loncom/homework/response.pm:1.206.2.1
--- loncom/homework/response.pm:1.206	Fri Oct 24 16:22:54 2008
+++ loncom/homework/response.pm	Thu Dec 11 04:11:09 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.206 2008/10/24 16:22:54 bisitz Exp $
+# $Id: response.pm,v 1.206.2.1 2008/12/11 04:11:09 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -288,6 +288,7 @@
 		    $previous{'last'}='1';
 		}
 		if (! $previous{'award'} ) { $previous{'award'} = 'UNKNOWN';	}
+                if ($previous{'award'} eq 'INTERNAL_ERROR') { $previous{'used'}=0; }
 		&Apache::lonxml::debug("got a match :$previous{'award'}:$previous{'used'}:");
 	    }
 	}