[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm

raeburn raeburn at source.lon-capa.org
Mon Oct 31 18:46:09 EDT 2011


raeburn		Mon Oct 31 22:46:09 2011 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - Clean up after changes for bug 1320.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.357 loncom/interface/lonmenu.pm:1.358
--- loncom/interface/lonmenu.pm:1.357	Mon Oct 31 15:09:50 2011
+++ loncom/interface/lonmenu.pm	Mon Oct 31 22:46:09 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.357 2011/10/31 15:09:50 raeburn Exp $
+# $Id: lonmenu.pm,v 1.358 2011/10/31 22:46:09 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -493,6 +493,7 @@
                 if (!$uploaded) {
 
                     $file=~s{^(priv/$match_domain/$match_username)}{/$1};
+                    $file=~s{^($match_domain/$match_username)}{/priv/$1};
 
                     # Check that the user has permission to edit this resource
                     my $setpriv = 1;




More information about the LON-CAPA-cvs mailing list