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

raeburn raeburn at source.lon-capa.org
Fri Jun 2 23:32:16 EDT 2023


raeburn		Sat Jun  3 03:32:16 2023 EDT

  Modified files:              
    /loncom/interface	courseprefs.pm 
  Log:
  - Reverse unintended removal of three lines in rev. 1.122
  
  
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.122 loncom/interface/courseprefs.pm:1.123
--- loncom/interface/courseprefs.pm:1.122	Sat Jun  3 02:29:57 2023
+++ loncom/interface/courseprefs.pm	Sat Jun  3 03:32:16 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set configuration settings for a course
 #
-# $Id: courseprefs.pm,v 1.122 2023/06/03 02:29:57 raeburn Exp $
+# $Id: courseprefs.pm,v 1.123 2023/06/03 03:32:16 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1680,6 +1680,9 @@
                 $haschanges{$itemid} = 1;
             }
         }
+        if ($env{$urlparamname} ne '') {
+            $linkprot{$itemid}{'returnurl'} = $env{$urlparamname};
+        }
         if ($env{$passbackparamname} ne '') {
             $linkprot{$itemid}{'passback'} = 1;
             $linkprot{$itemid}{'passbackformat'} = $env{$passbackparamname};




More information about the LON-CAPA-cvs mailing list