[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonclonecourse.pm

raeburn raeburn at source.lon-capa.org
Fri Jul 24 14:06:24 EDT 2020


raeburn		Fri Jul 24 18:06:24 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonclonecourse.pm 
  Log:
  - For 2.11
    Backport 1.16 
  
  
Index: loncom/interface/lonclonecourse.pm
diff -u loncom/interface/lonclonecourse.pm:1.13 loncom/interface/lonclonecourse.pm:1.13.2.1
--- loncom/interface/lonclonecourse.pm:1.13	Sat Jun 29 23:21:05 2019
+++ loncom/interface/lonclonecourse.pm	Fri Jul 24 18:06:24 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # routines for clone a course
 #
-# $Id: lonclonecourse.pm,v 1.13 2019/06/29 23:21:05 raeburn Exp $
+# $Id: lonclonecourse.pm,v 1.13.2.1 2020/07/24 18:06:24 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -107,7 +107,7 @@
 
 sub copyfile {
     my ($origcrsid,$newcrsid,$which)=@_;
-    unless ($which=~/\.sequence$/) {
+    unless ($which=~/\.(page|sequence)$/) {
 	return &writefile($newcrsid,$which,
 		      &readfile($origcrsid,$which));
     } else {




More information about the LON-CAPA-cvs mailing list