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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 09 Aug 2007 01:05:15 -0000


albertel		Wed Aug  8 21:05:15 2007 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - er logic backwards
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.237 loncom/homework/bridgetask.pm:1.238
--- loncom/homework/bridgetask.pm:1.237	Wed Aug  8 20:59:16 2007
+++ loncom/homework/bridgetask.pm	Wed Aug  8 21:05:15 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.237 2007/08/09 00:59:16 albertel Exp $
+# $Id: bridgetask.pm,v 1.238 2007/08/09 01:05:15 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -630,7 +630,7 @@
 		my $target_id = 
 		    &Apache::lonstathelpers::make_target_id({symb => $symb,
 							     part => '0'});
-		if (&section_restricted()) {
+		if (!&section_restricted()) {
 		    $result.='<form method="post" name="gradingstatus" action="/adm/statistics">'.
 			'<input type="hidden" name="problemchoice" value="'.$target_id.'" />'.
 			'<input type="hidden" name="reportSelected" value="grading_analysis" />'.