[LON-CAPA-cvs] cvs: loncom /publisher lonrights.pm

raeburn raeburn at source.lon-capa.org
Sun Nov 13 16:11:42 EST 2011


raeburn		Sun Nov 13 21:11:42 2011 EDT

  Modified files:              
    /loncom/publisher	lonrights.pm 
  Log:
  - Fix typo in rev. 1.31.
  
  
Index: loncom/publisher/lonrights.pm
diff -u loncom/publisher/lonrights.pm:1.31 loncom/publisher/lonrights.pm:1.32
--- loncom/publisher/lonrights.pm:1.31	Wed Nov  2 18:40:17 2011
+++ loncom/publisher/lonrights.pm	Sun Nov 13 21:11:42 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to show and edit custom distribution rights
 #
-# $Id: lonrights.pm,v 1.31 2011/11/02 18:40:17 raeburn Exp $
+# $Id: lonrights.pm,v 1.32 2011/11/13 21:11:42 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -78,7 +78,7 @@
   my $uri=$r->uri;
   my $fn=&Apache::lonnet::filelocation('',$uri);
   my $contents='';
-  my $constructmode=($uri=~ m/^/priv/});
+  my $constructmode=($uri=~ m{^/priv/});
 
 # ============================================================ Modify and store
   if ($constructmode && $env{'form.store'}) {




More information about the LON-CAPA-cvs mailing list