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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 04 Aug 2003 21:18:55 -0000


albertel		Mon Aug  4 17:18:55 2003 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
   -Fixes BUG#2003, excused status not reported until an attempt is made by the user.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.111 loncom/homework/inputtags.pm:1.112
--- loncom/homework/inputtags.pm:1.111	Fri Aug  1 14:04:10 2003
+++ loncom/homework/inputtags.pm	Mon Aug  4 17:18:55 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.111 2003/08/01 18:04:10 sakharuk Exp $
+# $Id: inputtags.pm,v 1.112 2003/08/04 21:18:55 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -618,7 +618,7 @@
     my $solved = $Apache::lonhomework::history{"resource.$id.solved"};
     my $previous = $Apache::lonhomework::history{"resource.$id.previous"};
     &Apache::lonxml::debug("Found Award |$award|$solved|");
-    if ( $award ne '' ) {
+    if ( $award ne '' || $solved ne '') {
       &Apache::lonxml::debug('Getting message');
       ($showbutton,$bgcolor,$message,$previousmsg) =
 	&decideoutput($award,$solved,$previous,$target);