[LON-CAPA-cvs] cvs: loncom /homework grades.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 27 Nov 2002 15:54:24 -0000


albertel		Wed Nov 27 10:54:24 2002 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - I can't see a good reason for the display to vary for essay problems versus non essayresponse
  - Fixes BUG#1006
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.60 loncom/homework/grades.pm:1.61
--- loncom/homework/grades.pm:1.60	Wed Nov 27 10:25:48 2002
+++ loncom/homework/grades.pm	Wed Nov 27 10:54:24 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.60 2002/11/27 15:25:48 albertel Exp $
+# $Id: grades.pm,v 1.61 2002/11/27 15:54:24 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1173,9 +1173,9 @@
 	for ($version=1;$version<=$returnhash{'version'};$version++) {
 	    foreach (sort(split(/\:/,$returnhash{$version.':keys'}))) {
 		$lasthash{$_}=$returnhash{$version.':'.$_};
-		if ($returnhash{$version.':'.$_} =~ /(SUBMITTED|DRAFT)$/) {
+#		if ($returnhash{$version.':'.$_} =~ /(SUBMITTED|DRAFT)$/) {
 		   $timestamp = scalar(localtime($returnhash{$version.':timestamp'}));
-	       } 
+#	       } 
 	    }
 	}
 	foreach ((keys %lasthash)) {