[LON-CAPA-cvs] cvs: loncom(version_0_6_1) /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 14 Mar 2003 21:45:21 -0000


albertel		Fri Mar 14 16:45:21 2003 EDT

  Modified files:              (Branch: version_0_6_1)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - backport 1.340, global defaults are set only at the part_0 level
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.317.2.1 loncom/lonnet/perl/lonnet.pm:1.317.2.2
--- loncom/lonnet/perl/lonnet.pm:1.317.2.1	Sat Feb  1 14:47:37 2003
+++ loncom/lonnet/perl/lonnet.pm	Fri Mar 14 16:45:20 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.317.2.1 2003/02/01 19:47:37 albertel Exp $
+# $Id: lonnet.pm,v 1.317.2.2 2003/03/14 21:45:20 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3032,6 +3032,7 @@
 			  $value.=' [Part: '.$part.']';
                       }
                       my $unikey='parameter'.$keyroot.'_'.$name;
+		      if ($subp eq 'default') { $unikey='parameter_0_'.$name; }
                       $metathesekeys{$unikey}=1;
                       $metacache{$uri.':'.$unikey.'.part'}=$part;
                       unless