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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 09 Jan 2003 21:33:07 -0000


albertel		Thu Jan  9 16:33:07 2003 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - show a single users submission by default
  - Fixes BUG # 1106
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.65 loncom/homework/grades.pm:1.66
--- loncom/homework/grades.pm:1.65	Mon Dec  9 21:46:23 2002
+++ loncom/homework/grades.pm	Thu Jan  9 16:33:07 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.65 2002/12/10 02:46:23 albertel Exp $
+# $Id: grades.pm,v 1.66 2003/01/09 21:33:07 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -846,7 +846,7 @@
 
 	# option to display problem, only once else it cause problems 
         # with the form later since the problem has a form.
-	if ($ENV{'form.vProb'} eq 'yes') {
+	if ($ENV{'form.vProb'} eq 'yes' or !$ENV{'form.vProb'}) {
 	    &show_problem($request,$symb,$uname,$udom,0);
 	}