[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /interface lonrequestcourse.pm

raeburn raeburn@source.lon-capa.org
Tue, 10 Aug 2010 17:20:02 -0000


raeburn		Tue Aug 10 17:20:02 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	lonrequestcourse.pm 
  Log:
  - Backport 1.55.
  
  
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.54.2.1 loncom/interface/lonrequestcourse.pm:1.54.2.2
--- loncom/interface/lonrequestcourse.pm:1.54.2.1	Fri Jul 30 23:51:41 2010
+++ loncom/interface/lonrequestcourse.pm	Tue Aug 10 17:20:02 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Request a course
 #
-# $Id: lonrequestcourse.pm,v 1.54.2.1 2010/07/30 23:51:41 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.54.2.2 2010/08/10 17:20:02 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3593,6 +3593,9 @@
             }
             $env{'form.clonecrs'} = $reqinfo{'clonecrs'};
             $env{'form.clonedom'} = $reqinfo{'clonedom'};
+            if (($reqinfo{'clonecrs'} ne '') && ($reqinfo{'clonedom'} ne '')) {
+                $env{'form.cloning'} = 1;
+            }
             $env{'form.datemode'} = $reqinfo{'datemode'};
             $env{'form.dateshift'} = $reqinfo{'dateshift'};
             if (($reqinfo{'crstype'} eq 'official') && ($reqinfo{'instcode'} ne '')) {