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

raeburn raeburn at source.lon-capa.org
Thu Sep 26 18:43:36 EDT 2024


raeburn		Thu Sep 26 22:43:36 2024 EDT

  Modified files:              
    /loncom/publisher	loncfile.pm 
  Log:
  - Bug 6990. Fix typo.
  
  
Index: loncom/publisher/loncfile.pm
diff -u loncom/publisher/loncfile.pm:1.130 loncom/publisher/loncfile.pm:1.131
--- loncom/publisher/loncfile.pm:1.130	Tue Sep  3 10:40:04 2024
+++ loncom/publisher/loncfile.pm	Thu Sep 26 22:43:36 2024
@@ -9,7 +9,7 @@
 #  and displays a page showing the results of the action.
 #
 #
-# $Id: loncfile.pm,v 1.130 2024/09/03 10:40:04 raeburn Exp $
+# $Id: loncfile.pm,v 1.131 2024/09/26 22:43:36 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1686,7 +1686,7 @@
 	}
 	$dest = $dir."/.";
     } elsif ($env{'form.action'} eq 'archive') {
-        if (($env{'environment.archive'}) &&
+        if (($env{'environment.canarchive'}) &&
             ($env{'user.name'} eq $uname) &&
             ($env{'user.domain'} eq $udom)) {
             &Archive2($r,$uname,$udom,$fn,$identifier);




More information about the LON-CAPA-cvs mailing list