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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 07 Jun 2007 22:10:00 -0000


albertel		Thu Jun  7 18:10:00 2007 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - BUG#5289, part_0 package defaults weren't getting defaulted to for multipart problems
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.884 loncom/lonnet/perl/lonnet.pm:1.885
--- loncom/lonnet/perl/lonnet.pm:1.884	Thu Jun  7 14:08:39 2007
+++ loncom/lonnet/perl/lonnet.pm	Thu Jun  7 18:09:59 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.884 2007/06/07 18:08:39 albertel Exp $
+# $Id: lonnet.pm,v 1.885 2007/06/07 22:09:59 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6338,7 +6338,7 @@
 	    $do_default=1;
 	} elsif ($pack_type eq 'extension') {
 	    push(@extension,[$package,$pack_type,$pack_part]);
-	} elsif ($pack_part eq $part) {
+	} elsif ($pack_part eq $part || $pack_type eq 'part') {
 	    # only look at packages defaults for packages that this id is
 	    push(@specifics,[$package,$pack_type,$pack_part]);
 	}