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

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 03 Jan 2007 01:50:12 -0000


raeburn		Tue Jan  2 20:50:12 2007 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  Regression to rev. 1.806
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.819 loncom/lonnet/perl/lonnet.pm:1.820
--- loncom/lonnet/perl/lonnet.pm:1.819	Tue Jan  2 12:54:08 2007
+++ loncom/lonnet/perl/lonnet.pm	Tue Jan  2 20:50:10 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.819 2007/01/02 17:54:08 www Exp $
+# $Id: lonnet.pm,v 1.820 2007/01/03 01:50:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3544,7 +3544,7 @@
 
 sub is_portfolio_file {
     my ($file) = @_;
-    if (($file =~ /^portfolio/) || ($file =~ /^groups\/\w\/portfolio/)) {
+    if (($file =~ /^portfolio/) || ($file =~ /^groups\/\w+\/portfolio/)) {
         return 1;
     }
     return;