[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

bowersj2 lon-capa-cvs@mail.lon-capa.org
Mon, 12 May 2003 19:22:39 -0000


bowersj2		Mon May 12 15:22:39 2003 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  Make it case insensitive as requested.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.185 loncom/interface/lonnavmaps.pm:1.186
--- loncom/interface/lonnavmaps.pm:1.185	Mon May 12 14:22:38 2003
+++ loncom/interface/lonnavmaps.pm	Mon May 12 15:22:39 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.185 2003/05/12 18:22:38 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.186 2003/05/12 19:22:39 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3481,7 +3481,7 @@
 
     if ($completionStatus == NETWORK_FAILURE) { return NETWORK_FAILURE; }
 
-    my $suppressFeedback = $self->parmval("problemstatus", $part) eq 'No';
+    my $suppressFeedback = lc($self->parmval("problemstatus", $part)) eq 'no';
 
     # There are a few whole rows we can dispose of:
     if ($completionStatus == CORRECT ||