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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 03 Jan 2007 04:19:32 -0000


albertel		Tue Jan  2 23:19:32 2007 EDT

  Modified files:              (Branch: version_2_3_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - backport 1.820
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.816.2.1 loncom/lonnet/perl/lonnet.pm:1.816.2.2
--- loncom/lonnet/perl/lonnet.pm:1.816.2.1	Tue Jan  2 23:15:59 2007
+++ loncom/lonnet/perl/lonnet.pm	Tue Jan  2 23:19:31 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.816.2.1 2007/01/03 04:15:59 albertel Exp $
+# $Id: lonnet.pm,v 1.816.2.2 2007/01/03 04:19:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3546,7 +3546,7 @@
 
 sub is_portfolio_file {
     my ($file) = @_;
-    if (($file =~ /^portfolio/) || ($file =~ /^groups\/\w\/portfolio/)) {
+    if (($file =~ /^portfolio/) || ($file =~ /^groups\/\w+\/portfolio/)) {
         return 1;
     }
     return;