[LON-CAPA-cvs] cvs: loncom(version_2_3_X) /interface lonparmset.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 14 Dec 2006 20:37:24 -0000


albertel		Thu Dec 14 15:37:24 2006 EDT

  Modified files:              (Branch: version_2_3_X)
    /loncom/interface	lonparmset.pm 
  Log:
  - backport 1.354
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.350.2.1 loncom/interface/lonparmset.pm:1.350.2.2
--- loncom/interface/lonparmset.pm:1.350.2.1	Thu Dec 14 15:08:15 2006
+++ loncom/interface/lonparmset.pm	Thu Dec 14 15:37:24 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.350.2.1 2006/12/14 20:08:15 albertel Exp $
+# $Id: lonparmset.pm,v 1.350.2.2 2006/12/14 20:37:24 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -272,7 +272,7 @@
 
 sub rulescache {
     my $id=shift;
-    if ($rulesid ne $env{'request.course.id'}) {
+    if ($rulesid ne $env{'request.course.id'}
 	&& !defined($rules{$id})) {
 	my $dom = $env{'course.'.$env{'request.course.id'}.'.domain'};
 	my $crs = $env{'course.'.$env{'request.course.id'}.'.num'};